Index: src/arm64/stub-cache-arm64.cc |
diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc |
index 5e394c5dfec816cd697c0fb0297b95c6aad6f71c..d5803c992562c0169c8737731bf6147f3ae80f5b 100644 |
--- a/src/arm64/stub-cache-arm64.cc |
+++ b/src/arm64/stub-cache-arm64.cc |
@@ -567,11 +567,11 @@ static void PushInterceptorArguments(MacroAssembler* masm, |
Register holder, |
Register name, |
Handle<JSObject> holder_obj) { |
- STATIC_ASSERT(StubCache::kInterceptorArgsNameIndex == 0); |
- STATIC_ASSERT(StubCache::kInterceptorArgsInfoIndex == 1); |
- STATIC_ASSERT(StubCache::kInterceptorArgsThisIndex == 2); |
- STATIC_ASSERT(StubCache::kInterceptorArgsHolderIndex == 3); |
- STATIC_ASSERT(StubCache::kInterceptorArgsLength == 4); |
+ STATIC_ASSERT(NamedLoadHandlerCompiler::kInterceptorArgsNameIndex == 0); |
+ STATIC_ASSERT(NamedLoadHandlerCompiler::kInterceptorArgsInfoIndex == 1); |
+ STATIC_ASSERT(NamedLoadHandlerCompiler::kInterceptorArgsThisIndex == 2); |
+ STATIC_ASSERT(NamedLoadHandlerCompiler::kInterceptorArgsHolderIndex == 3); |
+ STATIC_ASSERT(NamedLoadHandlerCompiler::kInterceptorArgsLength == 4); |
__ Push(name); |
Handle<InterceptorInfo> interceptor(holder_obj->GetNamedInterceptor()); |
@@ -591,9 +591,8 @@ static void CompileCallLoadPropertyWithInterceptor( |
IC::UtilityId id) { |
PushInterceptorArguments(masm, receiver, holder, name, holder_obj); |
- __ CallExternalReference( |
- ExternalReference(IC_Utility(id), masm->isolate()), |
- StubCache::kInterceptorArgsLength); |
+ __ CallExternalReference(ExternalReference(IC_Utility(id), masm->isolate()), |
+ NamedLoadHandlerCompiler::kInterceptorArgsLength); |
} |
@@ -1015,7 +1014,8 @@ void NamedLoadHandlerCompiler::GenerateLoadInterceptor( |
ExternalReference ref = |
ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptor), |
isolate()); |
- __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); |
+ __ TailCallExternalReference( |
+ ref, NamedLoadHandlerCompiler::kInterceptorArgsLength, 1); |
} |
} |