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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ToLength(Isolate* isolate); | 73 static Callable ToLength(Isolate* isolate); |
74 static Callable ToObject(Isolate* isolate); | 74 static Callable ToObject(Isolate* isolate); |
75 static Callable NumberToString(Isolate* isolate); | 75 static Callable NumberToString(Isolate* isolate); |
76 | 76 |
77 static Callable RegExpConstructResult(Isolate* isolate); | 77 static Callable RegExpConstructResult(Isolate* isolate); |
| 78 static Callable RegExpExec(Isolate* isolate); |
78 | 79 |
79 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 80 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
80 PretenureFlag pretenure_flag); | 81 PretenureFlag pretenure_flag); |
81 static Callable StringCompare(Isolate* isolate); | 82 static Callable StringCompare(Isolate* isolate); |
| 83 static Callable SubString(Isolate* isolate); |
82 | 84 |
83 static Callable Typeof(Isolate* isolate); | 85 static Callable Typeof(Isolate* isolate); |
84 | 86 |
85 static Callable FastCloneRegExp(Isolate* isolate); | 87 static Callable FastCloneRegExp(Isolate* isolate); |
86 static Callable FastCloneShallowArray(Isolate* isolate); | 88 static Callable FastCloneShallowArray(Isolate* isolate); |
87 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 89 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
88 | 90 |
89 static Callable FastNewContext(Isolate* isolate, int slot_count); | 91 static Callable FastNewContext(Isolate* isolate, int slot_count); |
90 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, | 92 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, |
91 FunctionKind kind); | 93 FunctionKind kind); |
(...skipping 15 matching lines...) Expand all Loading... |
107 | 109 |
108 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 110 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
109 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 111 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
110 static Callable InterpreterCEntry(Isolate* isolate); | 112 static Callable InterpreterCEntry(Isolate* isolate); |
111 }; | 113 }; |
112 | 114 |
113 } // namespace internal | 115 } // namespace internal |
114 } // namespace v8 | 116 } // namespace v8 |
115 | 117 |
116 #endif // V8_CODE_FACTORY_H_ | 118 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |