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/callable.h" | 10 #include "src/callable.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 static Callable BitwiseAnd(Isolate* isolate); | 101 static Callable BitwiseAnd(Isolate* isolate); |
102 static Callable BitwiseOr(Isolate* isolate); | 102 static Callable BitwiseOr(Isolate* isolate); |
103 static Callable BitwiseXor(Isolate* isolate); | 103 static Callable BitwiseXor(Isolate* isolate); |
104 static Callable LessThan(Isolate* isolate); | 104 static Callable LessThan(Isolate* isolate); |
105 static Callable LessThanOrEqual(Isolate* isolate); | 105 static Callable LessThanOrEqual(Isolate* isolate); |
106 static Callable GreaterThan(Isolate* isolate); | 106 static Callable GreaterThan(Isolate* isolate); |
107 static Callable GreaterThanOrEqual(Isolate* isolate); | 107 static Callable GreaterThanOrEqual(Isolate* isolate); |
108 static Callable Equal(Isolate* isolate); | 108 static Callable Equal(Isolate* isolate); |
109 static Callable StrictEqual(Isolate* isolate); | 109 static Callable StrictEqual(Isolate* isolate); |
110 | 110 |
111 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 111 static Callable StringAdd(Isolate* isolate, |
112 PretenureFlag pretenure_flag); | 112 StringAddFlags flags = STRING_ADD_CHECK_NONE, |
| 113 PretenureFlag pretenure_flag = NOT_TENURED); |
113 static Callable StringCharAt(Isolate* isolate); | 114 static Callable StringCharAt(Isolate* isolate); |
114 static Callable StringCharCodeAt(Isolate* isolate); | 115 static Callable StringCharCodeAt(Isolate* isolate); |
115 static Callable StringCompare(Isolate* isolate, Token::Value token); | 116 static Callable StringCompare(Isolate* isolate, Token::Value token); |
116 static Callable StringEqual(Isolate* isolate); | 117 static Callable StringEqual(Isolate* isolate); |
117 static Callable StringLessThan(Isolate* isolate); | 118 static Callable StringLessThan(Isolate* isolate); |
118 static Callable StringLessThanOrEqual(Isolate* isolate); | 119 static Callable StringLessThanOrEqual(Isolate* isolate); |
119 static Callable StringGreaterThan(Isolate* isolate); | 120 static Callable StringGreaterThan(Isolate* isolate); |
120 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 121 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
121 static Callable SubString(Isolate* isolate); | 122 static Callable SubString(Isolate* isolate); |
122 static Callable StringIndexOf(Isolate* isolate); | 123 static Callable StringIndexOf(Isolate* isolate); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 static Callable ArraySomeLoopContinuation(Isolate* isolate); | 185 static Callable ArraySomeLoopContinuation(Isolate* isolate); |
185 static Callable ArrayEveryLoopContinuation(Isolate* isolate); | 186 static Callable ArrayEveryLoopContinuation(Isolate* isolate); |
186 static Callable FunctionPrototypeBind(Isolate* isolate); | 187 static Callable FunctionPrototypeBind(Isolate* isolate); |
187 static Callable PromiseHandleReject(Isolate* isolate); | 188 static Callable PromiseHandleReject(Isolate* isolate); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace internal | 191 } // namespace internal |
191 } // namespace v8 | 192 } // namespace v8 |
192 | 193 |
193 #endif // V8_CODE_FACTORY_H_ | 194 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |