Revision: 8745
Author:   [email protected]
Date:     Tue Jul 26 09:31:11 2011
Log:      Allow GVN to separately optimize FastDoubleArrays

[email protected]
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7488016
http://code.google.com/p/v8/source/detail?r=8745

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Mon Jul 25 07:08:36 2011 +++ /branches/bleeding_edge/src/hydrogen-instructions.h Tue Jul 26 09:31:11 2011
@@ -184,6 +184,7 @@
   V(InobjectFields)                            \
   V(BackingStoreFields)                        \
   V(ArrayElements)                             \
+  V(DoubleArrayElements)                       \
   V(SpecializedArrayElements)                  \
   V(GlobalVars)                                \
   V(Maps)                                      \
@@ -3536,7 +3537,7 @@
     SetOperandAt(0, elements);
     SetOperandAt(1, key);
     set_representation(Representation::Double());
-    SetFlag(kDependsOnArrayElements);
+    SetFlag(kDependsOnDoubleArrayElements);
     SetFlag(kUseGVN);
   }

@@ -3754,7 +3755,7 @@
     SetOperandAt(0, elements);
     SetOperandAt(1, key);
     SetOperandAt(2, val);
-    SetFlag(kChangesArrayElements);
+    SetFlag(kChangesDoubleArrayElements);
   }

   virtual Representation RequiredInputRepresentation(int index) const {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to