Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 8d197d88d8e5ecf5f2d0e0a660b60f91661d8cf4..e1782bb31513bec12f873aaf61349ffbd070e102 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2535,8 +2535,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(); |
@@ -4134,10 +4133,8 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
if (expr->is_jsruntime()) { |
// Call the JS runtime function using a call IC. |
__ Move(rcx, 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. |
__ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
} else { |