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

Side by Side Diff: src/ic/ic-compiler.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/ic.cc ('k') | src/ic/ic-compiler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_IC_COMPILER_H_ 5 #ifndef V8_IC_IC_COMPILER_H_
6 #define V8_IC_IC_COMPILER_H_ 6 #define V8_IC_IC_COMPILER_H_
7 7
8 #include "src/ic/access-compiler.h" 8 #include "src/ic/access-compiler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 : PropertyAccessCompiler(isolate, kind, cache_holder), 65 : PropertyAccessCompiler(isolate, kind, cache_holder),
66 extra_ic_state_(extra_ic_state) {} 66 extra_ic_state_(extra_ic_state) {}
67 67
68 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, 68 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map,
69 Code::Kind kind, 69 Code::Kind kind,
70 ExtraICState extra_ic_state = kNoExtraICState, 70 ExtraICState extra_ic_state = kNoExtraICState,
71 CacheHolderFlag cache_holder = kCacheOnReceiver); 71 CacheHolderFlag cache_holder = kCacheOnReceiver);
72 72
73 Handle<Code> CompileLoadInitialize(Code::Flags flags); 73 Handle<Code> CompileLoadInitialize(Code::Flags flags);
74 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags); 74 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags);
75 Handle<Code> CompileLoadMegamorphic(Code::Flags flags);
76 Handle<Code> CompileStoreInitialize(Code::Flags flags); 75 Handle<Code> CompileStoreInitialize(Code::Flags flags);
77 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags); 76 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags);
78 Handle<Code> CompileStoreGeneric(Code::Flags flags); 77 Handle<Code> CompileStoreGeneric(Code::Flags flags);
79 Handle<Code> CompileStoreMegamorphic(Code::Flags flags); 78 Handle<Code> CompileStoreMegamorphic(Code::Flags flags);
80 79
81 Handle<Code> CompileMonomorphic(Handle<HeapType> type, Handle<Code> handler, 80 Handle<Code> CompileMonomorphic(Handle<HeapType> type, Handle<Code> handler,
82 Handle<Name> name, IcCheckType check); 81 Handle<Name> name, IcCheckType check);
83 Handle<Code> CompilePolymorphic(TypeHandleList* types, 82 Handle<Code> CompilePolymorphic(TypeHandleList* types,
84 CodeHandleList* handlers, Handle<Name> name, 83 CodeHandleList* handlers, Handle<Name> name,
85 Code::StubType type, IcCheckType check); 84 Code::StubType type, IcCheckType check);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 116 }
118 117
119 const ExtraICState extra_ic_state_; 118 const ExtraICState extra_ic_state_;
120 }; 119 };
121 120
122 121
123 } 122 }
124 } // namespace v8::internal 123 } // namespace v8::internal
125 124
126 #endif // V8_IC_IC_COMPILER_H_ 125 #endif // V8_IC_IC_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/ic/ic-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698