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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // code-stubs.h. | 48 // code-stubs.h. |
49 static Callable ToBoolean( | 49 static Callable ToBoolean( |
50 Isolate* isolate, ToBooleanStub::ResultMode mode, | 50 Isolate* isolate, ToBooleanStub::ResultMode mode, |
51 ToBooleanStub::Types types = ToBooleanStub::Types()); | 51 ToBooleanStub::Types types = ToBooleanStub::Types()); |
52 | 52 |
53 static Callable ToNumber(Isolate* isolate); | 53 static Callable ToNumber(Isolate* isolate); |
54 | 54 |
55 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 55 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
56 PretenureFlag pretenure_flag); | 56 PretenureFlag pretenure_flag); |
57 | 57 |
| 58 static Callable AllocateHeapNumber(Isolate* isolate); |
| 59 |
58 static Callable CallFunction(Isolate* isolate, int argc, | 60 static Callable CallFunction(Isolate* isolate, int argc, |
59 CallFunctionFlags flags); | 61 CallFunctionFlags flags); |
60 }; | 62 }; |
61 } | 63 |
62 } | 64 } // namespace internal |
| 65 } // namespace v8 |
| 66 |
63 #endif // V8_CODE_FACTORY_H_ | 67 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |