Revision: 16282
Author: [email protected]
Date: Fri Aug 23 08:11:12 2013 UTC
Log: Clean up the redundant Int32Constant check which is covered by
double case
BUG=
[email protected]
Review URL: https://codereview.chromium.org/22815032
Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=16282
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Thu Aug 22 16:14:37 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc Fri Aug 23 08:11:12 2013 UTC
@@ -6830,8 +6830,6 @@
} else if (exponent == 2.0) {
result = HMul::New(zone(), context, left, left);
}
- } else if (right->EqualsInteger32Constant(2)) {
- result = HMul::New(zone(), context, left, left);
}
if (result == NULL) {
--
--
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.