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

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

Issue 969733003: Prefill with correct contextual load ICs in fullcodegen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't prefill if we'll serialize the code Created 5 years, 9 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/full-codegen-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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 GenerateMiss(masm); 391 GenerateMiss(masm);
392 } 392 }
393 static void GenerateMiss(MacroAssembler* masm); 393 static void GenerateMiss(MacroAssembler* masm);
394 static void GenerateNormal(MacroAssembler* masm); 394 static void GenerateNormal(MacroAssembler* masm);
395 static void GenerateRuntimeGetProperty(MacroAssembler* masm); 395 static void GenerateRuntimeGetProperty(MacroAssembler* masm);
396 396
397 static Handle<Code> initialize_stub(Isolate* isolate, 397 static Handle<Code> initialize_stub(Isolate* isolate,
398 ExtraICState extra_state); 398 ExtraICState extra_state);
399 static Handle<Code> initialize_stub_in_optimized_code( 399 static Handle<Code> initialize_stub_in_optimized_code(
400 Isolate* isolate, ExtraICState extra_state, State initialization_state); 400 Isolate* isolate, ExtraICState extra_state, State initialization_state);
401 static Handle<Code> load_global(Isolate* isolate, Handle<GlobalObject> global,
402 Handle<String> name);
401 403
402 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, 404 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object,
403 Handle<Name> name); 405 Handle<Name> name);
404 406
405 static void Clear(Isolate* isolate, Code* host, LoadICNexus* nexus); 407 static void Clear(Isolate* isolate, Code* host, LoadICNexus* nexus);
406 408
407 protected: 409 protected:
408 inline void set_target(Code* code); 410 inline void set_target(Code* code);
409 411
410 Handle<Code> slow_stub() const { 412 Handle<Code> slow_stub() const {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 765
764 // Support functions for interceptor handlers. 766 // Support functions for interceptor handlers.
765 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 767 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
766 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 768 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
767 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 769 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
768 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 770 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
769 } 771 }
770 } // namespace v8::internal 772 } // namespace v8::internal
771 773
772 #endif // V8_IC_H_ 774 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698