Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index e679a29e51c9453b1afbb67cff16e28bb10e4283..d524d2f5c8b47507ef606cdd7e54355fc9f75eb7 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -20,6 +20,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" |
@@ -2611,12 +2612,11 @@ 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); |
@@ -2660,11 +2660,11 @@ void FullCodeGenerator::EmitKeyedCallWithLoadIC(Call* expr, |
__ push(at); |
__ sw(v0, MemOperand(sp, kPointerSize)); |
- 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(); |