Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index a6f48a5d44466ac2e3f00564eff1b88989e7e8cf..1a1c20dd0bf9d73fd18a40bfd4213d67bbefa3a2 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.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" |
@@ -2627,12 +2628,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); |
@@ -2676,11 +2676,11 @@ void FullCodeGenerator::EmitKeyedCallWithLoadIC(Call* expr, |
__ push(ip); |
__ str(r0, 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(); |