| 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..28ec1a2a9a823415ab13f920a6e5c20363ba96b1 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();
|
| @@ -3314,7 +3312,7 @@ void FullCodeGenerator::EmitLog(CallRuntime* expr) {
|
| // 2 (array): Arguments to the format string.
|
| ZoneList<Expression*>* args = expr->arguments();
|
| ASSERT_EQ(args->length(), 3);
|
| - if (CodeGenerator::ShouldGenerateLog(args->at(0))) {
|
| + if (CodeGenerator::ShouldGenerateLog(isolate(), args->at(0))) {
|
| VisitForStackValue(args->at(1));
|
| VisitForStackValue(args->at(2));
|
| __ CallRuntime(Runtime::kLog, 2);
|
|
|