Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 1201adc3bab71ac9d4a810096e87963b723e7f8a..24e2b65151c70dc49a4568844b98b15cdbaf916a 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -5625,8 +5625,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
Condition cc = masm()->CheckSmi(rax); |
DeoptimizeIf(cc, instr, Deoptimizer::kSmi); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
- __ CmpObjectType(rax, LAST_JS_PROXY_TYPE, rcx); |
+ STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
+ __ CmpObjectType(rax, JS_PROXY_TYPE, rcx); |
DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType); |
Label use_cache, call_runtime; |