| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index bec199e0e399f7ce34cd25516f89f9d7d93f2396..0c20ea067c489139844695562efbc89ee3238a83 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -443,10 +443,7 @@ void JSGenericLowering::LowerJSHasProperty(Node* node) {
|
|
|
| void JSGenericLowering::LowerJSInstanceOf(Node* node) {
|
| CallDescriptor::Flags flags = AdjustFrameStatesForCall(node);
|
| - InstanceofStub::Flags stub_flags = static_cast<InstanceofStub::Flags>(
|
| - InstanceofStub::kReturnTrueFalseObject |
|
| - InstanceofStub::kArgsInRegisters);
|
| - Callable callable = CodeFactory::Instanceof(isolate(), stub_flags);
|
| + Callable callable = CodeFactory::InstanceOf(isolate());
|
| ReplaceWithStubCall(node, callable, flags);
|
| }
|
|
|
|
|