Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 8682e2b82fc190cce90c98b6c2a01f7d1635b9fa..68f839f6f17d8374c12f1aaa8a308cad802d5944 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -1251,8 +1251,9 @@ LInstruction* LChunkBuilder::DoClassOfTestAndBranch( |
LInstruction* LChunkBuilder::DoCompareNumericAndBranch( |
HCompareNumericAndBranch* instr) { |
+ LInstruction* goto_instr = CheckElideControlInstruction(instr); |
+ if (goto_instr != NULL) return goto_instr; |
Representation r = instr->representation(); |
- |
if (r.IsSmiOrInteger32()) { |
ASSERT(instr->left()->representation().Equals(r)); |
ASSERT(instr->right()->representation().Equals(r)); |