Revision: 12369
Author:   [email protected]
Date:     Wed Aug 22 12:00:02 2012
Log: When processing collected uint32 instructions skip those with non-Integer32 representation.

[email protected]
BUG=test262 S15.4.4.8_A2_T3.js

Review URL: https://chromiumcodereview.appspot.com/10867017
http://code.google.com/p/v8/source/detail?r=12369

Modified:
 /branches/bleeding_edge/src/hydrogen.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Wed Aug 22 08:44:17 2012
+++ /branches/bleeding_edge/src/hydrogen.cc     Wed Aug 22 12:00:02 2012
@@ -2933,7 +2933,9 @@
   Uint32Analysis analysis(zone());
   for (int i = 0; i < uint32_instructions_->length(); ++i) {
     HInstruction* current = uint32_instructions_->at(i);
-    if (current->IsLinked()) analysis.Analyze(current);
+    if (current->IsLinked() && current->representation().IsInteger32()) {
+      analysis.Analyze(current);
+    }
   }

   // Some phis might have been optimistically marked with kUint32 flag.

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

Reply via email to