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