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

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: REBASE. 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
« no previous file with comments | « src/ic/ia32/stub-cache-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/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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 926
928 // Support functions for interceptor handlers. 927 // Support functions for interceptor handlers.
929 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 928 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
930 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 929 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
931 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 930 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
932 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 931 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
933 } 932 }
934 } // namespace v8::internal 933 } // namespace v8::internal
935 934
936 #endif // V8_IC_H_ 935 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « 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