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

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

Issue 314953006: Implement LookupIterator designed to replace LookupResult (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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_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 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup); 1128 GenerateLoadPostInterceptor(holder_reg, interceptor_holder, name, lookup);
1129 } else { // !compile_followup_inline 1129 } else { // !compile_followup_inline
1130 // Call the runtime system to load the interceptor. 1130 // Call the runtime system to load the interceptor.
1131 // Check that the maps haven't changed. 1131 // Check that the maps haven't changed.
1132 __ pop(scratch2()); // save old return address 1132 __ pop(scratch2()); // save old return address
1133 PushInterceptorArguments(masm(), receiver(), holder_reg, 1133 PushInterceptorArguments(masm(), receiver(), holder_reg,
1134 this->name(), interceptor_holder); 1134 this->name(), interceptor_holder);
1135 __ push(scratch2()); // restore old return address 1135 __ push(scratch2()); // restore old return address
1136 1136
1137 ExternalReference ref = 1137 ExternalReference ref =
1138 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptorForLoad), 1138 ExternalReference(IC_Utility(IC::kLoadPropertyWithInterceptor),
1139 isolate()); 1139 isolate());
1140 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1); 1140 __ TailCallExternalReference(ref, StubCache::kInterceptorArgsLength, 1);
1141 } 1141 }
1142 } 1142 }
1143 1143
1144 1144
1145 Handle<Code> StoreStubCompiler::CompileStoreCallback( 1145 Handle<Code> StoreStubCompiler::CompileStoreCallback(
1146 Handle<JSObject> object, 1146 Handle<JSObject> object,
1147 Handle<JSObject> holder, 1147 Handle<JSObject> holder,
1148 Handle<Name> name, 1148 Handle<Name> name,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // ----------------------------------- 1499 // -----------------------------------
1500 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1500 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1501 } 1501 }
1502 1502
1503 1503
1504 #undef __ 1504 #undef __
1505 1505
1506 } } // namespace v8::internal 1506 } } // namespace v8::internal
1507 1507
1508 #endif // V8_TARGET_ARCH_X87 1508 #endif // V8_TARGET_ARCH_X87
OLDNEW
« src/lookup.cc ('K') | « src/x64/stub-cache-x64.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698