Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 2781e6e7a0f96b8f89059797b09545dd9191ea16..4f6a995b95b911c69538e537f38fc902680534ff 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -5552,8 +5552,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
__ SmiTst(r0); |
DeoptimizeIf(eq, instr, Deoptimizer::kSmi); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
- __ CompareObjectType(r0, r1, r1, LAST_JS_PROXY_TYPE); |
+ STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
+ __ CompareObjectType(r0, r1, r1, JS_PROXY_TYPE); |
DeoptimizeIf(le, instr, Deoptimizer::kWrongInstanceType); |
Label use_cache, call_runtime; |