Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index b30daa64a597fdb541210c6e60c3e64f6bd5342f..66e94f9dbc56bce159c2b016b4715645df4745e1 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -2553,7 +2553,7 @@ void FullCodeGenerator::EmitCallWithIC(Call* expr, |
// Record source position of the IC call. |
SetSourcePosition(expr->position()); |
Handle<Code> ic = |
- isolate()->stub_cache()->ComputeCallInitialize(arg_count, mode); |
+ isolate()->stub_cache()->ComputeCallInitialize(arg_count); |
TypeFeedbackId ast_id = mode == CONTEXTUAL |
? TypeFeedbackId::None() |
: expr->CallFeedbackId(); |
@@ -4130,10 +4130,8 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
if (expr->is_jsruntime()) { |
// Call the JS runtime function via a call IC. |
__ Set(ecx, Immediate(expr->name())); |
- ContextualMode mode = NOT_CONTEXTUAL; |
- Handle<Code> ic = |
- isolate()->stub_cache()->ComputeCallInitialize(arg_count, mode); |
- CallIC(ic, mode, expr->CallRuntimeFeedbackId()); |
+ Handle<Code> ic = isolate()->stub_cache()->ComputeCallInitialize(arg_count); |
+ CallIC(ic, NOT_CONTEXTUAL, expr->CallRuntimeFeedbackId()); |
// Restore context register. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
} else { |