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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 PretenureFlag pretenure_flag); | 80 PretenureFlag pretenure_flag); |
81 | 81 |
82 static Callable Typeof(Isolate* isolate); | 82 static Callable Typeof(Isolate* isolate); |
83 | 83 |
84 static Callable FastCloneShallowArray(Isolate* isolate); | 84 static Callable FastCloneShallowArray(Isolate* isolate); |
85 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 85 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
86 | 86 |
87 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, | 87 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, |
88 FunctionKind kind); | 88 FunctionKind kind); |
89 | 89 |
| 90 static Callable ArgumentsAccess(Isolate* isolate, |
| 91 ArgumentsAccessStub::Type type); |
| 92 |
90 static Callable AllocateHeapNumber(Isolate* isolate); | 93 static Callable AllocateHeapNumber(Isolate* isolate); |
91 | 94 |
92 static Callable CallFunction(Isolate* isolate, int argc, | 95 static Callable CallFunction(Isolate* isolate, int argc, |
93 CallFunctionFlags flags); | 96 CallFunctionFlags flags); |
94 | 97 |
95 static Callable PushArgsAndCall(Isolate* isolate); | 98 static Callable PushArgsAndCall(Isolate* isolate); |
96 }; | 99 }; |
97 | 100 |
98 } // namespace internal | 101 } // namespace internal |
99 } // namespace v8 | 102 } // namespace v8 |
100 | 103 |
101 #endif // V8_CODE_FACTORY_H_ | 104 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |