Index: src/arm64/lithium-arm64.h |
diff --git a/src/arm64/lithium-arm64.h b/src/arm64/lithium-arm64.h |
index b036446746ce391c460b3ca08a081422e44492b7..da91bca7bd060291f969494d2dcba4550f3a37fa 100644 |
--- a/src/arm64/lithium-arm64.h |
+++ b/src/arm64/lithium-arm64.h |
@@ -2361,6 +2361,10 @@ class LStoreKeyed : public LTemplateInstruction<0, 3, T> { |
} |
bool NeedsCanonicalization() { |
+ if (hydrogen()->value()->IsAdd() || hydrogen()->value()->IsSub() || |
+ hydrogen()->value()->IsMul() || hydrogen()->value()->IsDiv()) { |
+ return false; |
+ } |
return this->hydrogen()->NeedsCanonicalization(); |
} |
uint32_t additional_index() const { return this->hydrogen()->index_offset(); } |