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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/ic-inl.h" | 9 #include "src/ic-inl.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup); | 1114 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup); |
1115 } else { // !compile_followup_inline | 1115 } else { // !compile_followup_inline |
1116 // Call the runtime system to load the interceptor. | 1116 // Call the runtime system to load the interceptor. |
1117 // Check that the maps haven't changed. | 1117 // Check that the maps haven't changed. |
1118 __ pop(scratch2()); // save old return address | 1118 __ pop(scratch2()); // save old return address |
1119 PushInterceptorArguments(masm(), receiver(), holder_reg, | 1119 PushInterceptorArguments(masm(), receiver(), holder_reg, |
1120 this->name(), interceptor_holder); | 1120 this->name(), interceptor_holder); |
1121 __ push(scratch2()); // restore old return address | 1121 __ push(scratch2()); // restore old return address |
1122 | 1122 |
1123 ExternalReference ref = | 1123 ExternalReference ref = |
1124 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorForLoad), | 1124 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptor), |
1125 isolate()); | 1125 isolate()); |
1126 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); | 1126 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); |
1127 } | 1127 } |
1128 } | 1128 } |
1129 | 1129 |
1130 | 1130 |
1131 Handle<Code> StoreStubCompiler::CompileStoreCallback( | 1131 Handle<Code> StoreStubCompiler::CompileStoreCallback( |
1132 Handle<JSObject> object, | 1132 Handle<JSObject> object, |
1133 Handle<JSObject> holder, | 1133 Handle<JSObject> holder, |
1134 Handle<Name> name, | 1134 Handle<Name> name, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 // ----------------------------------- | 1485 // ----------------------------------- |
1486 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1486 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
1487 } | 1487 } |
1488 | 1488 |
1489 | 1489 |
1490 #undef __ | 1490 #undef __ |
1491 | 1491 |
1492 } } // namespace v8::internal | 1492 } } // namespace v8::internal |
1493 | 1493 |
1494 #endif // V8_TARGET_ARCH_IA32 | 1494 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |