Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 0633cdf7676e1f09c5f4f0f7aaef4414a2ad38e6..a7725228c1779e9b6b71bb57013fb18e4ee8c678 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -12,6 +12,7 @@ |
#include "src/compiler.h" |
#include "src/debug.h" |
#include "src/full-codegen.h" |
+#include "src/ic/ic.h" |
#include "src/isolate-inl.h" |
#include "src/parser.h" |
#include "src/scopes.h" |
@@ -2540,11 +2541,10 @@ void FullCodeGenerator::CallIC(Handle<Code> code, |
void FullCodeGenerator::EmitCallWithLoadIC(Call* expr) { |
Expression* callee = expr->expression(); |
- CallIC::CallType call_type = callee->IsVariableProxy() |
- ? CallIC::FUNCTION |
- : CallIC::METHOD; |
+ CallICState::CallType call_type = |
+ callee->IsVariableProxy() ? CallICState::FUNCTION : CallICState::METHOD; |
// Get the target function. |
- if (call_type == CallIC::FUNCTION) { |
+ if (call_type == CallICState::FUNCTION) { |
{ StackValueContext context(this); |
EmitVariableLoad(callee->AsVariableProxy()); |
PrepareForBailout(callee, NO_REGISTERS); |
@@ -2586,11 +2586,11 @@ void FullCodeGenerator::EmitKeyedCallWithLoadIC(Call* expr, |
__ Push(Operand(rsp, 0)); |
__ movp(Operand(rsp, kPointerSize), rax); |
- EmitCall(expr, CallIC::METHOD); |
+ EmitCall(expr, CallICState::METHOD); |
} |
-void FullCodeGenerator::EmitCall(Call* expr, CallIC::CallType call_type) { |
+void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) { |
// Load the arguments. |
ZoneList<Expression*>* args = expr->arguments(); |
int arg_count = args->length(); |