| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 527800b80ede2bafb2efdc232c5b302cdc74df3d..6f1025b24d983aedf9cf71e7891ea8457e7f754c 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2531,14 +2531,6 @@ void InstanceOfStub::Generate(MacroAssembler* masm) {
|
| static_cast<uint8_t>(1 << Map::kHasNonInstancePrototype));
|
| __ j(not_zero, &slow_case);
|
|
|
| - // Ensure that {function} is not bound.
|
| - Register const shared_info = scratch;
|
| - __ mov(shared_info,
|
| - FieldOperand(function, JSFunction::kSharedFunctionInfoOffset));
|
| - __ BooleanBitTest(shared_info, SharedFunctionInfo::kCompilerHintsOffset,
|
| - SharedFunctionInfo::kBoundFunction);
|
| - __ j(not_zero, &slow_case);
|
| -
|
| // Get the "prototype" (or initial map) of the {function}.
|
| __ mov(function_prototype,
|
| FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
|
|
|