| Index: src/code-stub-assembler.cc
|
| diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc
|
| index e0d863097d6a8a1bad116477c73d136d6e1bebb6..c2287c1331bd5dda047426477c9aa3653093b559 100644
|
| --- a/src/code-stub-assembler.cc
|
| +++ b/src/code-stub-assembler.cc
|
| @@ -2418,9 +2418,10 @@ void CodeStubAssembler::TryPrototypeChainLookup(
|
| {
|
| Label if_objectisreceiver(this);
|
| STATIC_ASSERT(LAST_JS_RECEIVER_TYPE == LAST_TYPE);
|
| - Branch(Int32GreaterThanOrEqual(instance_type,
|
| - Int32Constant(FIRST_JS_RECEIVER_TYPE)),
|
| - &if_objectisreceiver, if_bailout);
|
| + STATIC_ASSERT(FIRST_JS_RECEIVER_TYPE == JS_PROXY_TYPE);
|
| + Branch(
|
| + Int32GreaterThan(instance_type, Int32Constant(FIRST_JS_RECEIVER_TYPE)),
|
| + &if_objectisreceiver, if_bailout);
|
| Bind(&if_objectisreceiver);
|
| }
|
|
|
|
|