OLD | NEW |
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 113 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
114 static Callable SubString(Isolate* isolate); | 114 static Callable SubString(Isolate* isolate); |
115 | 115 |
116 static Callable Typeof(Isolate* isolate); | 116 static Callable Typeof(Isolate* isolate); |
117 | 117 |
118 static Callable FastCloneRegExp(Isolate* isolate); | 118 static Callable FastCloneRegExp(Isolate* isolate); |
119 static Callable FastCloneShallowArray(Isolate* isolate); | 119 static Callable FastCloneShallowArray(Isolate* isolate); |
120 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 120 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
121 | 121 |
122 static Callable FastNewContext(Isolate* isolate, int slot_count); | 122 static Callable FastNewContext(Isolate* isolate, int slot_count); |
123 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, | 123 static Callable FastNewClosure(Isolate* isolate); |
124 FunctionKind kind); | |
125 static Callable FastNewObject(Isolate* isolate); | 124 static Callable FastNewObject(Isolate* isolate); |
126 static Callable FastNewRestParameter(Isolate* isolate, | 125 static Callable FastNewRestParameter(Isolate* isolate, |
127 bool skip_stub_frame = false); | 126 bool skip_stub_frame = false); |
128 static Callable FastNewSloppyArguments(Isolate* isolate, | 127 static Callable FastNewSloppyArguments(Isolate* isolate, |
129 bool skip_stub_frame = false); | 128 bool skip_stub_frame = false); |
130 static Callable FastNewStrictArguments(Isolate* isolate, | 129 static Callable FastNewStrictArguments(Isolate* isolate, |
131 bool skip_stub_frame = false); | 130 bool skip_stub_frame = false); |
132 | 131 |
133 static Callable AllocateHeapNumber(Isolate* isolate); | 132 static Callable AllocateHeapNumber(Isolate* isolate); |
134 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 133 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
(...skipping 16 matching lines...) Expand all Loading... |
151 static Callable InterpreterPushArgsAndCall(Isolate* isolate, | 150 static Callable InterpreterPushArgsAndCall(Isolate* isolate, |
152 TailCallMode tail_call_mode); | 151 TailCallMode tail_call_mode); |
153 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 152 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
154 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 153 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
155 }; | 154 }; |
156 | 155 |
157 } // namespace internal | 156 } // namespace internal |
158 } // namespace v8 | 157 } // namespace v8 |
159 | 158 |
160 #endif // V8_CODE_FACTORY_H_ | 159 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |