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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 86 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
87 | 87 |
88 static Callable FastNewContext(Isolate* isolate, int slot_count); | 88 static Callable FastNewContext(Isolate* isolate, int slot_count); |
89 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, | 89 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, |
90 FunctionKind kind); | 90 FunctionKind kind); |
91 | 91 |
92 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, | 92 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, |
93 bool has_duplicate_parameters); | 93 bool has_duplicate_parameters); |
94 | 94 |
95 static Callable AllocateHeapNumber(Isolate* isolate); | 95 static Callable AllocateHeapNumber(Isolate* isolate); |
| 96 static Callable AllocateInNewSpace(Isolate* isolate); |
96 | 97 |
97 static Callable CallFunction(Isolate* isolate, int argc, | 98 static Callable CallFunction(Isolate* isolate, int argc, |
98 CallFunctionFlags flags); | 99 CallFunctionFlags flags); |
99 | 100 |
100 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 101 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
101 static Callable InterpreterCEntry(Isolate* isolate); | 102 static Callable InterpreterCEntry(Isolate* isolate); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace internal | 105 } // namespace internal |
105 } // namespace v8 | 106 } // namespace v8 |
106 | 107 |
107 #endif // V8_CODE_FACTORY_H_ | 108 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |