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

Side by Side Diff: src/code-factory.h

Issue 2711353002: [LoadIC] Use LoadIC_Uninitialized for 0->PRE transitions (Closed)
Patch Set: Created 3 years, 10 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/builtins/builtins-ic.cc ('k') | src/code-factory.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_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 20 matching lines...) Expand all
31 class V8_EXPORT_PRIVATE CodeFactory final { 31 class V8_EXPORT_PRIVATE CodeFactory final {
32 public: 32 public:
33 // CEntryStub has var-args semantics (all the arguments are passed on the 33 // CEntryStub has var-args semantics (all the arguments are passed on the
34 // stack and the arguments count is passed via register) which currently 34 // stack and the arguments count is passed via register) which currently
35 // can't be expressed in CallInterfaceDescriptor. Therefore only the code 35 // can't be expressed in CallInterfaceDescriptor. Therefore only the code
36 // is exported here. 36 // is exported here.
37 static Handle<Code> RuntimeCEntry(Isolate* isolate, int result_size = 1); 37 static Handle<Code> RuntimeCEntry(Isolate* isolate, int result_size = 1);
38 38
39 // Initial states for ICs. 39 // Initial states for ICs.
40 static Callable LoadIC(Isolate* isolate); 40 static Callable LoadIC(Isolate* isolate);
41 static Callable LoadIC_Uninitialized(Isolate* isolate);
41 static Callable LoadICInOptimizedCode(Isolate* isolate); 42 static Callable LoadICInOptimizedCode(Isolate* isolate);
42 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent); 43 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent);
43 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode); 44 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode);
44 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate, 45 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate,
45 TypeofMode typeof_mode); 46 TypeofMode typeof_mode);
46 static Callable KeyedLoadIC(Isolate* isolate); 47 static Callable KeyedLoadIC(Isolate* isolate);
47 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate); 48 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
48 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate); 49 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate);
49 static Callable CallIC(Isolate* isolate, 50 static Callable CallIC(Isolate* isolate,
50 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 51 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 static Callable ArrayConstructor(Isolate* isolate); 196 static Callable ArrayConstructor(Isolate* isolate);
196 static Callable ArrayPush(Isolate* isolate); 197 static Callable ArrayPush(Isolate* isolate);
197 static Callable FunctionPrototypeBind(Isolate* isolate); 198 static Callable FunctionPrototypeBind(Isolate* isolate);
198 static Callable PromiseHandleReject(Isolate* isolate); 199 static Callable PromiseHandleReject(Isolate* isolate);
199 }; 200 };
200 201
201 } // namespace internal 202 } // namespace internal
202 } // namespace v8 203 } // namespace v8
203 204
204 #endif // V8_CODE_FACTORY_H_ 205 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-ic.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698