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

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

Issue 535873002: Encapsulate megamorphic load/tail-call in hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleanup and ports. Created 6 years, 3 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 #ifndef V8_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return false; 398 return false;
399 } 399 }
400 } 400 }
401 401
402 // Code generator routines. 402 // Code generator routines.
403 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } 403 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); }
404 static void GeneratePreMonomorphic(MacroAssembler* masm) { 404 static void GeneratePreMonomorphic(MacroAssembler* masm) {
405 GenerateMiss(masm); 405 GenerateMiss(masm);
406 } 406 }
407 static void GenerateMiss(MacroAssembler* masm); 407 static void GenerateMiss(MacroAssembler* masm);
408 static void GenerateMegamorphic(MacroAssembler* masm);
409 static void GenerateNormal(MacroAssembler* masm); 408 static void GenerateNormal(MacroAssembler* masm);
410 static void GenerateRuntimeGetProperty(MacroAssembler* masm); 409 static void GenerateRuntimeGetProperty(MacroAssembler* masm);
411 410
412 static Handle<Code> initialize_stub(Isolate* isolate, 411 static Handle<Code> initialize_stub(Isolate* isolate,
413 ExtraICState extra_state); 412 ExtraICState extra_state);
414 413
415 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, 414 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object,
416 Handle<Name> name); 415 Handle<Name> name);
417 416
418 protected: 417 protected:
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 930
932 // Support functions for interceptor handlers. 931 // Support functions for interceptor handlers.
933 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 932 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
934 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 933 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
935 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 934 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
936 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 935 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
937 } 936 }
938 } // namespace v8::internal 937 } // namespace v8::internal
939 938
940 #endif // V8_IC_H_ 939 #endif // V8_IC_H_
OLDNEW
« src/code-stubs.h ('K') | « src/ic/ia32/stub-cache-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698