| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 59f7b9c7b39c4d0f423499af01dffd0bd30a323b..81c9ccb12807f6ed0e9abc77fd3db1f2c4336579 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2013,9 +2013,8 @@ void FullCodeGenerator::EmitCallWithIC(Call* expr,
|
| }
|
| // Record source position of the IC call.
|
| SetSourcePosition(expr->position());
|
| - InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP;
|
| Handle<Code> ic =
|
| - isolate()->stub_cache()->ComputeCallInitialize(arg_count, in_loop, mode);
|
| + isolate()->stub_cache()->ComputeCallInitialize(arg_count, mode);
|
| __ call(ic, mode, expr->id());
|
| RecordJSReturnSite(expr);
|
| // Restore context register.
|
| @@ -2047,9 +2046,8 @@ void FullCodeGenerator::EmitKeyedCallWithIC(Call* expr,
|
| }
|
| // Record source position of the IC call.
|
| SetSourcePosition(expr->position());
|
| - InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP;
|
| - Handle<Code> ic = isolate()->stub_cache()->ComputeKeyedCallInitialize(
|
| - arg_count, in_loop);
|
| + Handle<Code> ic =
|
| + isolate()->stub_cache()->ComputeKeyedCallInitialize(arg_count);
|
| __ mov(ecx, Operand(esp, (arg_count + 1) * kPointerSize)); // Key.
|
| __ call(ic, RelocInfo::CODE_TARGET, expr->id());
|
| RecordJSReturnSite(expr);
|
| @@ -2071,8 +2069,7 @@ void FullCodeGenerator::EmitCallWithStub(Call* expr, CallFunctionFlags flags) {
|
| }
|
| // Record source position for debugger.
|
| SetSourcePosition(expr->position());
|
| - InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP;
|
| - CallFunctionStub stub(arg_count, in_loop, flags);
|
| + CallFunctionStub stub(arg_count, flags);
|
| __ CallStub(&stub);
|
| RecordJSReturnSite(expr);
|
| // Restore context register.
|
| @@ -2166,8 +2163,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| }
|
| // Record source position for debugger.
|
| SetSourcePosition(expr->position());
|
| - InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP;
|
| - CallFunctionStub stub(arg_count, in_loop, RECEIVER_MIGHT_BE_IMPLICIT);
|
| + CallFunctionStub stub(arg_count, RECEIVER_MIGHT_BE_IMPLICIT);
|
| __ CallStub(&stub);
|
| RecordJSReturnSite(expr);
|
| // Restore context register.
|
| @@ -3582,10 +3578,9 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
|
| if (expr->is_jsruntime()) {
|
| // Call the JS runtime function via a call IC.
|
| __ Set(ecx, Immediate(expr->name()));
|
| - InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP;
|
| RelocInfo::Mode mode = RelocInfo::CODE_TARGET;
|
| - Handle<Code> ic = isolate()->stub_cache()->ComputeCallInitialize(
|
| - arg_count, in_loop, mode);
|
| + Handle<Code> ic =
|
| + isolate()->stub_cache()->ComputeCallInitialize(arg_count, mode);
|
| __ call(ic, mode, expr->id());
|
| // Restore context register.
|
| __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
|
|
|