| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 34002488c19b88a025663acab36bd5ec1f2e21e6..2a0d1020a0566808dd836304ff9ba5b760ce6c1b 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -296,8 +296,7 @@ void FullCodeGenerator::Generate() {
|
| __ cmp(sp, Operand(ip));
|
| __ b(hs, &ok);
|
| PredictableCodeSizeScope predictable(masm_, 2 * Assembler::kInstrSize);
|
| - StackCheckStub stub;
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->StackCheck(), RelocInfo::CODE_TARGET);
|
| __ bind(&ok);
|
| }
|
|
|
| @@ -366,8 +365,7 @@ void FullCodeGenerator::EmitBackEdgeBookkeeping(IterationStatement* stmt,
|
| }
|
| EmitProfilingCounterDecrement(weight);
|
| __ b(pl, &ok);
|
| - InterruptStub stub;
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InterruptCheck(), RelocInfo::CODE_TARGET);
|
|
|
| // Record a mapping of this PC offset to the OSR id. This is used to find
|
| // the AST id from the unoptimized code in order to use it as a key into
|
| @@ -416,8 +414,8 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| __ push(r2);
|
| __ CallRuntime(Runtime::kOptimizeFunctionOnNextCall, 1);
|
| } else {
|
| - InterruptStub stub;
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InterruptCheck(),
|
| + RelocInfo::CODE_TARGET);
|
| }
|
| __ pop(r0);
|
| EmitProfilingCounterReset();
|
|
|