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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 Strength strength); | 63 Strength strength); |
64 | 64 |
65 // Code stubs. Add methods here as needed to reduce dependency on | 65 // Code stubs. Add methods here as needed to reduce dependency on |
66 // code-stubs.h. | 66 // code-stubs.h. |
67 static Callable InstanceOf(Isolate* isolate); | 67 static Callable InstanceOf(Isolate* isolate); |
68 | 68 |
69 static Callable ToBoolean(Isolate* isolate); | 69 static Callable ToBoolean(Isolate* isolate); |
70 | 70 |
71 static Callable ToNumber(Isolate* isolate); | 71 static Callable ToNumber(Isolate* isolate); |
72 static Callable ToString(Isolate* isolate); | 72 static Callable ToString(Isolate* isolate); |
| 73 static Callable ToName(Isolate* isolate); |
73 static Callable ToLength(Isolate* isolate); | 74 static Callable ToLength(Isolate* isolate); |
74 static Callable ToObject(Isolate* isolate); | 75 static Callable ToObject(Isolate* isolate); |
75 static Callable NumberToString(Isolate* isolate); | 76 static Callable NumberToString(Isolate* isolate); |
76 | 77 |
77 static Callable RegExpConstructResult(Isolate* isolate); | 78 static Callable RegExpConstructResult(Isolate* isolate); |
78 static Callable RegExpExec(Isolate* isolate); | 79 static Callable RegExpExec(Isolate* isolate); |
79 | 80 |
80 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 81 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
81 PretenureFlag pretenure_flag); | 82 PretenureFlag pretenure_flag); |
82 static Callable StringCompare(Isolate* isolate); | 83 static Callable StringCompare(Isolate* isolate); |
(...skipping 27 matching lines...) Expand all Loading... |
110 | 111 |
111 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 112 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
112 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 113 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
113 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 114 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
114 }; | 115 }; |
115 | 116 |
116 } // namespace internal | 117 } // namespace internal |
117 } // namespace v8 | 118 } // namespace v8 |
118 | 119 |
119 #endif // V8_CODE_FACTORY_H_ | 120 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |