| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 static Callable ToName(Isolate* isolate); | 89 static Callable ToName(Isolate* isolate); |
| 90 static Callable ToInteger(Isolate* isolate); | 90 static Callable ToInteger(Isolate* isolate); |
| 91 static Callable ToLength(Isolate* isolate); | 91 static Callable ToLength(Isolate* isolate); |
| 92 static Callable ToObject(Isolate* isolate); | 92 static Callable ToObject(Isolate* isolate); |
| 93 static Callable NonPrimitiveToPrimitive( | 93 static Callable NonPrimitiveToPrimitive( |
| 94 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault); | 94 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault); |
| 95 static Callable OrdinaryToPrimitive(Isolate* isolate, | 95 static Callable OrdinaryToPrimitive(Isolate* isolate, |
| 96 OrdinaryToPrimitiveHint hint); | 96 OrdinaryToPrimitiveHint hint); |
| 97 static Callable NumberToString(Isolate* isolate); | 97 static Callable NumberToString(Isolate* isolate); |
| 98 | 98 |
| 99 // Platform-dependent entry point into the generated irregexp matcher code. |
| 99 static Callable RegExpExec(Isolate* isolate); | 100 static Callable RegExpExec(Isolate* isolate); |
| 100 | 101 |
| 102 // Implements part of the specced glue logic around RegExp.prototype.exec. |
| 103 // Usually results in a call to CodeFactory::RegExpExec. |
| 104 static Callable RegExpExecInternal(Isolate* isolate, bool is_fastpath); |
| 105 |
| 101 static Callable Add(Isolate* isolate); | 106 static Callable Add(Isolate* isolate); |
| 102 static Callable Subtract(Isolate* isolate); | 107 static Callable Subtract(Isolate* isolate); |
| 103 static Callable Multiply(Isolate* isolate); | 108 static Callable Multiply(Isolate* isolate); |
| 104 static Callable Divide(Isolate* isolate); | 109 static Callable Divide(Isolate* isolate); |
| 105 static Callable Modulus(Isolate* isolate); | 110 static Callable Modulus(Isolate* isolate); |
| 106 static Callable ShiftRight(Isolate* isolate); | 111 static Callable ShiftRight(Isolate* isolate); |
| 107 static Callable ShiftRightLogical(Isolate* isolate); | 112 static Callable ShiftRightLogical(Isolate* isolate); |
| 108 static Callable ShiftLeft(Isolate* isolate); | 113 static Callable ShiftLeft(Isolate* isolate); |
| 109 static Callable BitwiseAnd(Isolate* isolate); | 114 static Callable BitwiseAnd(Isolate* isolate); |
| 110 static Callable BitwiseOr(Isolate* isolate); | 115 static Callable BitwiseOr(Isolate* isolate); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 static Callable ArrayConstructor(Isolate* isolate); | 202 static Callable ArrayConstructor(Isolate* isolate); |
| 198 static Callable ArrayPush(Isolate* isolate); | 203 static Callable ArrayPush(Isolate* isolate); |
| 199 static Callable FunctionPrototypeBind(Isolate* isolate); | 204 static Callable FunctionPrototypeBind(Isolate* isolate); |
| 200 static Callable PromiseHandleReject(Isolate* isolate); | 205 static Callable PromiseHandleReject(Isolate* isolate); |
| 201 }; | 206 }; |
| 202 | 207 |
| 203 } // namespace internal | 208 } // namespace internal |
| 204 } // namespace v8 | 209 } // namespace v8 |
| 205 | 210 |
| 206 #endif // V8_CODE_FACTORY_H_ | 211 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |