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

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: 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
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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« src/objects-inl.h ('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