| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 775a1688c764a4668d7f7c15b247e971041058ee..db82b39979d403f962ba7b7cb47dd069a197b2ef 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -288,8 +288,7 @@ void FullCodeGenerator::Generate() {
|
| ExternalReference::address_of_stack_limit(isolate());
|
| __ cmp(esp, Operand::StaticVariable(stack_limit));
|
| __ j(above_equal, &ok, Label::kNear);
|
| - StackCheckStub stub;
|
| - __ CallStub(&stub);
|
| + __ call(isolate()->builtins()->StackCheck(), RelocInfo::CODE_TARGET);
|
| __ bind(&ok);
|
| }
|
|
|
| @@ -347,8 +346,7 @@ void FullCodeGenerator::EmitBackEdgeBookkeeping(IterationStatement* stmt,
|
| }
|
| EmitProfilingCounterDecrement(weight);
|
| __ j(positive, &ok, Label::kNear);
|
| - 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
|
| @@ -395,8 +393,8 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| __ push(Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
|
| __ CallRuntime(Runtime::kOptimizeFunctionOnNextCall, 1);
|
| } else {
|
| - InterruptStub stub;
|
| - __ CallStub(&stub);
|
| + __ call(isolate()->builtins()->InterruptCheck(),
|
| + RelocInfo::CODE_TARGET);
|
| }
|
| __ pop(eax);
|
| EmitProfilingCounterReset();
|
| @@ -3268,7 +3266,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);
|
|
|