| Index: src/a64/full-codegen-a64.cc
|
| diff --git a/src/a64/full-codegen-a64.cc b/src/a64/full-codegen-a64.cc
|
| index 27cb0464d0b01dd2b1737942a69b95aa50b5d4ad..7d8bb8159c3a7f2b3f4f00fbedc3aef04934b329 100644
|
| --- a/src/a64/full-codegen-a64.cc
|
| +++ b/src/a64/full-codegen-a64.cc
|
| @@ -291,8 +291,7 @@ void FullCodeGenerator::Generate() {
|
| __ B(hs, &ok);
|
| PredictableCodeSizeScope predictable(masm_,
|
| Assembler::kCallSizeWithRelocation);
|
| - StackCheckStub stub;
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->StackCheck(), RelocInfo::CODE_TARGET);
|
| __ Bind(&ok);
|
| }
|
|
|
| @@ -363,8 +362,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(x10);
|
| __ CallRuntime(Runtime::kOptimizeFunctionOnNextCall, 1);
|
| } else {
|
| - InterruptStub stub;
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InterruptCheck(),
|
| + RelocInfo::CODE_TARGET);
|
| }
|
| __ Pop(x0);
|
| EmitProfilingCounterReset();
|
| @@ -3072,7 +3070,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);
|
|
|