Revision: 18987
Author: [email protected]
Date: Fri Jan 31 12:44:50 2014 UTC
Log: A64: Fix assertion in DoMathMinMax.
The instruction can handle SMIs.
TEST=mjsunit/math-min-max
[email protected]
Review URL: https://codereview.chromium.org/151323002
http://code.google.com/p/v8/source/detail?r=18987
Modified:
/branches/experimental/a64/src/a64/lithium-a64.cc
=======================================
--- /branches/experimental/a64/src/a64/lithium-a64.cc Thu Jan 30 19:29:24
2014 UTC
+++ /branches/experimental/a64/src/a64/lithium-a64.cc Fri Jan 31 12:44:50
2014 UTC
@@ -1824,8 +1824,8 @@
LOperand* left = NULL;
LOperand* right = NULL;
if (instr->representation().IsSmiOrInteger32()) {
- ASSERT(instr->left()->representation().IsInteger32());
- ASSERT(instr->right()->representation().IsInteger32());
+
ASSERT(instr->left()->representation().Equals(instr->representation()));
+
ASSERT(instr->right()->representation().Equals(instr->representation()));
left = UseRegisterAtStart(instr->BetterLeftOperand());
right = UseRegisterOrConstantAtStart(instr->BetterRightOperand());
} else {
--
--
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.