Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index ba3f2631d0e7b5e402947562e18a304a26ff5b27..0ca9d51ef0f6bfcdef92fdbd9fa8cb252b27f7a0 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -731,7 +731,7 @@ void JSGenericLowering::LowerJSForInPrepare(Node* node) { |
jsgraph()->IntPtrConstant(Map::kInstanceTypeOffset - kHeapObjectTag), |
effect, if_false0); |
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_SPEC_OBJECT_TYPE); |
+ STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); |
Node* check1 = graph()->NewNode( |
machine()->Uint32LessThanOrEqual(), object_instance_type, |
jsgraph()->Uint32Constant(LAST_JS_PROXY_TYPE)); |