Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 89ddd4dac89ce4a09102cbf1ba6ca3eac6b9e8cf..3a7bbcb83b9ac20da38760657e1f81357d0bebb1 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -5832,8 +5832,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
__ TestIfSmi(r3, r0); |
DeoptimizeIf(eq, instr, Deoptimizer::kSmi, cr0); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
- __ CompareObjectType(r3, r4, r4, LAST_JS_PROXY_TYPE); |
+ STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
+ __ CompareObjectType(r3, r4, r4, JS_PROXY_TYPE); |
DeoptimizeIf(le, instr, Deoptimizer::kWrongInstanceType); |
Label use_cache, call_runtime; |