| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index e03a68c5db21f7785164e828e26ca811d20e3a00..381723122ed6ef83accccf0bb6fcccdcb3aaa6e7 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -734,10 +734,9 @@ void JSGenericLowering::LowerJSForInPrepare(Node* node) {
|
| jsgraph()->IntPtrConstant(Map::kInstanceTypeOffset - kHeapObjectTag),
|
| effect, if_false0);
|
|
|
| - 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));
|
| + Node* check1 =
|
| + graph()->NewNode(machine()->Word32Equal(), object_instance_type,
|
| + jsgraph()->Uint32Constant(JS_PROXY_TYPE));
|
| Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kFalse),
|
| check1, if_false0);
|
|
|
|
|