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

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

Issue 1407373007: Remove CallFunctionStub, always call through the Call builtin (also from CallIC) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/arm64/code-stubs-arm64.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 24 matching lines...) Expand all
35 static Callable LoadIC(Isolate* isolate, TypeofMode typeof_mode, 35 static Callable LoadIC(Isolate* isolate, TypeofMode typeof_mode,
36 LanguageMode language_mode); 36 LanguageMode language_mode);
37 static Callable LoadICInOptimizedCode(Isolate* isolate, 37 static Callable LoadICInOptimizedCode(Isolate* isolate,
38 TypeofMode typeof_mode, 38 TypeofMode typeof_mode,
39 LanguageMode language_mode, 39 LanguageMode language_mode,
40 InlineCacheState initialization_state); 40 InlineCacheState initialization_state);
41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode); 41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode);
42 static Callable KeyedLoadICInOptimizedCode( 42 static Callable KeyedLoadICInOptimizedCode(
43 Isolate* isolate, LanguageMode language_mode, 43 Isolate* isolate, LanguageMode language_mode,
44 InlineCacheState initialization_state); 44 InlineCacheState initialization_state);
45 static Callable CallIC(Isolate* isolate, int argc, 45 static Callable CallIC(Isolate* isolate, int argc);
46 CallICState::CallType call_type); 46 static Callable CallICInOptimizedCode(Isolate* isolate, int argc);
47 static Callable CallICInOptimizedCode(Isolate* isolate, int argc,
48 CallICState::CallType call_type);
49 static Callable StoreIC(Isolate* isolate, LanguageMode mode); 47 static Callable StoreIC(Isolate* isolate, LanguageMode mode);
50 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode, 48 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode,
51 InlineCacheState initialization_state); 49 InlineCacheState initialization_state);
52 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); 50 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode);
53 static Callable KeyedStoreICInOptimizedCode( 51 static Callable KeyedStoreICInOptimizedCode(
54 Isolate* isolate, LanguageMode mode, 52 Isolate* isolate, LanguageMode mode,
55 InlineCacheState initialization_state); 53 InlineCacheState initialization_state);
56 54
57 static Callable CompareIC(Isolate* isolate, Token::Value op, 55 static Callable CompareIC(Isolate* isolate, Token::Value op,
58 Strength strength); 56 Strength strength);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, 88 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode,
91 FunctionKind kind); 89 FunctionKind kind);
92 90
93 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, 91 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments,
94 bool has_duplicate_parameters); 92 bool has_duplicate_parameters);
95 93
96 static Callable AllocateHeapNumber(Isolate* isolate); 94 static Callable AllocateHeapNumber(Isolate* isolate);
97 static Callable AllocateMutableHeapNumber(Isolate* isolate); 95 static Callable AllocateMutableHeapNumber(Isolate* isolate);
98 static Callable AllocateInNewSpace(Isolate* isolate); 96 static Callable AllocateInNewSpace(Isolate* isolate);
99 97
100 // TODO(bmeurer): Kill this!
101 static Callable CallFunction(Isolate* isolate, int argc,
102 CallFunctionFlags flags);
103
104 static Callable ArgumentAdaptor(Isolate* isolate); 98 static Callable ArgumentAdaptor(Isolate* isolate);
105 static Callable Call(Isolate* isolate); 99 static Callable Call(Isolate* isolate);
106 100
107 static Callable InterpreterPushArgsAndCall(Isolate* isolate); 101 static Callable InterpreterPushArgsAndCall(Isolate* isolate);
108 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 102 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
109 static Callable InterpreterCEntry(Isolate* isolate); 103 static Callable InterpreterCEntry(Isolate* isolate);
110 }; 104 };
111 105
112 } // namespace internal 106 } // namespace internal
113 } // namespace v8 107 } // namespace v8
114 108
115 #endif // V8_CODE_FACTORY_H_ 109 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698