Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 8dcfd2e534fe3a82b9dd7337e1497e81178a1e9b..748d1a70fee175ff8382a7494651a93164c88341 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -2826,8 +2826,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
DeoptimizeIfSmi(object, instr, Deoptimizer::kSmi); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
- __ CompareObjectType(object, x1, x1, LAST_JS_PROXY_TYPE); |
+ STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
+ __ CompareObjectType(object, x1, x1, JS_PROXY_TYPE); |
DeoptimizeIf(le, instr, Deoptimizer::kNotAJavaScriptObject); |
Label use_cache, call_runtime; |