Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index eac2328666f436e7073779e1082adc0e3b01cf17..e676a15dcf88acf595a80029e7691ec599056551 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2649,8 +2649,7 @@ void FullCodeGenerator::EmitCallWithIC(Call* expr, |
// Record source position for debugger. |
SetSourcePosition(expr->position()); |
// Call the IC initialization code. |
- Handle<Code> ic = |
- isolate()->stub_cache()->ComputeCallInitialize(arg_count, mode); |
+ Handle<Code> ic = isolate()->stub_cache()->ComputeCallInitialize(arg_count); |
TypeFeedbackId ast_id = mode == CONTEXTUAL |
? TypeFeedbackId::None() |
: expr->CallFeedbackId(); |
@@ -4218,10 +4217,8 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
if (expr->is_jsruntime()) { |
// Call the JS runtime function. |
__ li(a2, Operand(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. |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} else { |