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