diff src/share/vm/opto/vectornode.hpp @ 2445:08eb13460b3a

7004535: Clone loop predicate during loop unswitch Summary: Clone loop predicate for clonned loops Reviewed-by: never
author kvn
date Sat, 02 Apr 2011 10:54:15 -0700
parents f95d63e2154a
children c7b60b601eb4
line wrap: on
line diff
--- a/src/share/vm/opto/vectornode.hpp	Sat Apr 02 09:49:27 2011 -0700
+++ b/src/share/vm/opto/vectornode.hpp	Sat Apr 02 10:54:15 2011 -0700
@@ -32,6 +32,7 @@
 //------------------------------VectorNode--------------------------------------
 // Vector Operation
 class VectorNode : public Node {
+  virtual uint size_of() const { return sizeof(*this); }
  protected:
   uint _length; // vector length
   virtual BasicType elt_basic_type() const = 0; // Vector element basic type