Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 703fe754361c59e7d2349847d8521f5d89af9fb4..f33e6fa063c95e5271d30d401f45632c23b566ef 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -44,7 +44,6 @@ namespace internal { |
MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size) |
: Assembler(arg_isolate, buffer, size), |
generating_stub_(false), |
- allow_stub_calls_(true), |
has_frame_(false) { |
if (isolate() != NULL) { |
code_object_ = Handle<Object>(isolate()->heap()->undefined_value(), |
@@ -3886,8 +3885,6 @@ void MacroAssembler::CallStub(CodeStub* stub, |
void MacroAssembler::TailCallStub(CodeStub* stub) { |
- ASSERT(allow_stub_calls_ || |
- stub->CompilingCallsToThisStubIsGCSafe(isolate())); |
Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |
@@ -4027,8 +4024,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
bool MacroAssembler::AllowThisStubCall(CodeStub* stub) { |
- if (!has_frame_ && stub->SometimesSetsUpAFrame()) return false; |
- return allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe(isolate()); |
+ return has_frame_ || !stub->SometimesSetsUpAFrame(); |
} |