[v8] r12369 committed - When processing collected uint32 instructions skip those with non-Inte...

2 views
Skip to first unread message

codesite...@google.com

unread,
Aug 22, 2012, 3:00:21 PM8/22/12
to v8-...@googlegroups.com
Revision: 12369
Author: veg...@chromium.org
Date: Wed Aug 22 12:00:02 2012
Log: When processing collected uint32 instructions skip those with
non-Integer32 representation.

R=da...@chromium.org
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.
Reply all
Reply to author
Forward
0 new messages