OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/ic-inl.h" | 10 #include "src/ic-inl.h" |
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup); | 1047 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup); |
1048 } else { // !compile_followup_inline | 1048 } else { // !compile_followup_inline |
1049 // Call the runtime system to load the interceptor. | 1049 // Call the runtime system to load the interceptor. |
1050 // Check that the maps haven't changed. | 1050 // Check that the maps haven't changed. |
1051 __ PopReturnAddressTo(scratch2()); | 1051 __ PopReturnAddressTo(scratch2()); |
1052 PushInterceptorArguments(masm(), receiver(), holder_reg, | 1052 PushInterceptorArguments(masm(), receiver(), holder_reg, |
1053 this->name(), interceptor_holder); | 1053 this->name(), interceptor_holder); |
1054 __ PushReturnAddressFrom(scratch2()); | 1054 __ PushReturnAddressFrom(scratch2()); |
1055 | 1055 |
1056 ExternalReference ref = ExternalReference( | 1056 ExternalReference ref = ExternalReference( |
1057 IC_Utility(IC::kLoadPropertyWithInterceptorForLoad), isolate()); | 1057 IC_Utility(IC::kLoadPropertyWithInterceptor), isolate()); |
1058 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); | 1058 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); |
1059 } | 1059 } |
1060 } | 1060 } |
1061 | 1061 |
1062 | 1062 |
1063 Handle<Code> StoreStubCompiler::CompileStoreCallback( | 1063 Handle<Code> StoreStubCompiler::CompileStoreCallback( |
1064 Handle<JSObject> object, | 1064 Handle<JSObject> object, |
1065 Handle<JSObject> holder, | 1065 Handle<JSObject> holder, |
1066 Handle<Name> name, | 1066 Handle<Name> name, |
1067 Handle<ExecutableAccessorInfo> callback) { | 1067 Handle<ExecutableAccessorInfo> callback) { |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 // ----------------------------------- | 1427 // ----------------------------------- |
1428 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1428 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
1429 } | 1429 } |
1430 | 1430 |
1431 | 1431 |
1432 #undef __ | 1432 #undef __ |
1433 | 1433 |
1434 } } // namespace v8::internal | 1434 } } // namespace v8::internal |
1435 | 1435 |
1436 #endif // V8_TARGET_ARCH_X64 | 1436 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |