| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index e2f02202bddecd3d1f607b781e508a80933be244..5066c32b6329de5ce54a376443d77d2bc7b20e57 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -1423,15 +1423,6 @@ void InstanceOfStub::Generate(MacroAssembler* masm) {
|
| __ TestBit(scratch, Map::kHasNonInstancePrototype, r0);
|
| __ bne(&slow_case, cr0);
|
|
|
| - // Ensure that {function} is not bound.
|
| - Register const shared_info = scratch;
|
| - __ LoadP(shared_info,
|
| - FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset));
|
| - __ lwz(scratch, FieldMemOperand(shared_info,
|
| - SharedFunctionInfo::kCompilerHintsOffset));
|
| - __ TestBit(scratch, SharedFunctionInfo::kBoundBit, r0);
|
| - __ bne(&slow_case, cr0);
|
| -
|
| // Get the "prototype" (or initial map) of the {function}.
|
| __ LoadP(function_prototype,
|
| FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
|
|
|