Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 33c26bd9a27c88d7430436c96e428d7918e38db0..e39e02a71398d6e4d46581662b6386e5cbcf1d8f 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2597,8 +2597,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(); |
@@ -4138,10 +4137,8 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
if (expr->is_jsruntime()) { |
// Call the JS runtime function. |
__ mov(r2, 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. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} else { |