| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 5c4eb8979371b2fbb62fb5c936cbbbc909042bff..f585bd0da0c161dc603ada1c986d9a984063388c 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -1526,7 +1526,7 @@ HValue* HUnaryMathOperation::Canonicalize() {
|
| if (value()->representation().IsInteger32()) return value();
|
|
|
| #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_IA32) || \
|
| - defined(V8_TARGET_ARCH_X64)
|
| + defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_A64)
|
| if (value()->IsDiv() && (value()->UseCount() == 1)) {
|
| // TODO(2038): Implement this optimization for non ARM architectures.
|
| HDiv* hdiv = HDiv::cast(value());
|
|
|