Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 34813f8a08b606d8077180bce08a092906a726bc..48c03fbdb09bc9c89a2a7d542f8dc9048ab57e9b 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2483,15 +2483,6 @@ void InstanceOfStub::Generate(MacroAssembler* masm) { |
Immediate(1 << Map::kHasNonInstancePrototype)); |
__ j(not_zero, &slow_case); |
- // Ensure that {function} is not bound. |
- Register const shared_info = kScratchRegister; |
- __ movp(shared_info, |
- FieldOperand(function, JSFunction::kSharedFunctionInfoOffset)); |
- __ TestBitSharedFunctionInfoSpecialField( |
- shared_info, SharedFunctionInfo::kCompilerHintsOffset, |
- SharedFunctionInfo::kBoundFunction); |
- __ j(not_zero, &slow_case); |
- |
// Get the "prototype" (or initial map) of the {function}. |
__ movp(function_prototype, |
FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset)); |