Revision: 15248
Author: [email protected]
Date: Thu Jun 20 07:20:15 2013
Log: Also apply InferControlFlowRange to smi-based tests.
[email protected]
Review URL: https://chromiumcodereview.appspot.com/16870011
http://code.google.com/p/v8/source/detail?r=15248
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Thu Jun 20 06:51:03 2013
+++ /branches/bleeding_edge/src/hydrogen.cc Thu Jun 20 07:20:15 2013
@@ -2689,7 +2689,7 @@
void HRangeAnalysis::InferControlFlowRange(HCompareIDAndBranch* test,
HBasicBlock* dest) {
ASSERT((test->FirstSuccessor() == dest) == (test->SecondSuccessor() !=
dest));
- if (test->representation().IsInteger32()) {
+ if (test->representation().IsSmiOrInteger32()) {
Token::Value op = test->token();
if (test->SecondSuccessor() == dest) {
op = Token::NegateCompareOp(op);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.