| Index: src/arm64/lithium-arm64.h
|
| diff --git a/src/arm64/lithium-arm64.h b/src/arm64/lithium-arm64.h
|
| index f5143ff52e81b1aef88a954db348a177ca83fa89..61090bf6cc78036f1fd434983ad3e6e5b1c4c416 100644
|
| --- a/src/arm64/lithium-arm64.h
|
| +++ b/src/arm64/lithium-arm64.h
|
| @@ -2386,6 +2386,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(); }
|
|
|