Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 6648f46e2fe4e305312f7dc0618c88face96f31b..c5165ae3c277df4ec8ba9233275c8224a481a1d2 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -5427,8 +5427,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
__ test(eax, Immediate(kSmiTagMask)); |
DeoptimizeIf(zero, instr, Deoptimizer::kSmi); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
- __ CmpObjectType(eax, LAST_JS_PROXY_TYPE, ecx); |
+ STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
+ __ CmpObjectType(eax, JS_PROXY_TYPE, ecx); |
DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType); |
Label use_cache, call_runtime; |