| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 141fc04bf2545374be2b0e079c03e5adbc1b66d5..8044371c3e028b4ab89acc88539e168bf86877af 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.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"
|
| @@ -2291,12 +2292,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);
|
| @@ -2338,11 +2338,11 @@ void FullCodeGenerator::EmitKeyedCallWithLoadIC(Call* expr,
|
| __ Pop(x10);
|
| __ Push(x0, x10);
|
|
|
| - 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();
|
|
|