Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 66894ddeb0c6323b3d1303d80a58f8b0a1a1166d..ee8a2ab536662ea8b6eff711159c1aff701c9408 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.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(), |
@@ -2276,8 +2275,6 @@ void MacroAssembler::CallStub(CodeStub* stub, |
void MacroAssembler::TailCallStub(CodeStub* stub, Condition cond) { |
- ASSERT(allow_stub_calls_ || |
- stub->CompilingCallsToThisStubIsGCSafe(isolate())); |
Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET, cond); |
} |
@@ -2422,8 +2419,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(); |
} |