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

Side by Side Diff: src/ic/ic.h

Issue 871063002: Use a trampoline stub to load the type feedback vector for CallICs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 11 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
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »
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 #ifndef V8_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/ic/ic-state.h" 8 #include "src/ic/ic-state.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 void HandleMiss(Handle<Object> receiver, Handle<Object> function); 349 void HandleMiss(Handle<Object> receiver, Handle<Object> function);
350 350
351 // Returns true if a custom handler was installed. 351 // Returns true if a custom handler was installed.
352 bool DoCustomHandler(Handle<Object> receiver, Handle<Object> function, 352 bool DoCustomHandler(Handle<Object> receiver, Handle<Object> function,
353 const CallICState& callic_state); 353 const CallICState& callic_state);
354 354
355 // Code generator routines. 355 // Code generator routines.
356 static Handle<Code> initialize_stub(Isolate* isolate, int argc, 356 static Handle<Code> initialize_stub(Isolate* isolate, int argc,
357 CallICState::CallType call_type); 357 CallICState::CallType call_type);
358 static Handle<Code> initialize_stub_in_optimized_code(
359 Isolate* isolate, int argc, CallICState::CallType call_type);
358 360
359 static void Clear(Isolate* isolate, Code* host, CallICNexus* nexus); 361 static void Clear(Isolate* isolate, Code* host, CallICNexus* nexus);
360 }; 362 };
361 363
362 364
363 class LoadIC : public IC { 365 class LoadIC : public IC {
364 public: 366 public:
365 static ExtraICState ComputeExtraICState(ContextualMode contextual_mode) { 367 static ExtraICState ComputeExtraICState(ContextualMode contextual_mode) {
366 return LoadICState(contextual_mode).GetExtraICState(); 368 return LoadICState(contextual_mode).GetExtraICState();
367 } 369 }
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 766
765 // Support functions for interceptor handlers. 767 // Support functions for interceptor handlers.
766 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 768 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
767 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 769 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
768 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 770 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
769 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 771 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
770 } 772 }
771 } // namespace v8::internal 773 } // namespace v8::internal
772 774
773 #endif // V8_IC_H_ 775 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698