Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: src/ia32/stub-cache-ia32.cc

Issue 314953006: Implement LookupIterator designed to replace LookupResult (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Adding to BUILD.gn Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/handles.h ('k') | src/ic.h » ('j') | src/lookup.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/handles.h ('k') | src/ic.h » ('j') | src/lookup.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698