| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 static Callable ToName(Isolate* isolate); | 76 static Callable ToName(Isolate* isolate); |
| 77 static Callable ToInteger(Isolate* isolate); | 77 static Callable ToInteger(Isolate* isolate); |
| 78 static Callable ToLength(Isolate* isolate); | 78 static Callable ToLength(Isolate* isolate); |
| 79 static Callable ToObject(Isolate* isolate); | 79 static Callable ToObject(Isolate* isolate); |
| 80 static Callable NonPrimitiveToPrimitive( | 80 static Callable NonPrimitiveToPrimitive( |
| 81 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault); | 81 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault); |
| 82 static Callable OrdinaryToPrimitive(Isolate* isolate, | 82 static Callable OrdinaryToPrimitive(Isolate* isolate, |
| 83 OrdinaryToPrimitiveHint hint); | 83 OrdinaryToPrimitiveHint hint); |
| 84 static Callable NumberToString(Isolate* isolate); | 84 static Callable NumberToString(Isolate* isolate); |
| 85 | 85 |
| 86 static Callable RegExpConstructResult(Isolate* isolate); | |
| 87 static Callable RegExpExec(Isolate* isolate); | 86 static Callable RegExpExec(Isolate* isolate); |
| 88 | 87 |
| 89 static Callable Add(Isolate* isolate); | 88 static Callable Add(Isolate* isolate); |
| 90 static Callable Subtract(Isolate* isolate); | 89 static Callable Subtract(Isolate* isolate); |
| 91 static Callable Multiply(Isolate* isolate); | 90 static Callable Multiply(Isolate* isolate); |
| 92 static Callable Divide(Isolate* isolate); | 91 static Callable Divide(Isolate* isolate); |
| 93 static Callable Modulus(Isolate* isolate); | 92 static Callable Modulus(Isolate* isolate); |
| 94 static Callable ShiftRight(Isolate* isolate); | 93 static Callable ShiftRight(Isolate* isolate); |
| 95 static Callable ShiftRightLogical(Isolate* isolate); | 94 static Callable ShiftRightLogical(Isolate* isolate); |
| 96 static Callable ShiftLeft(Isolate* isolate); | 95 static Callable ShiftLeft(Isolate* isolate); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 Isolate* isolate, CallableType function_type = CallableType::kAny); | 162 Isolate* isolate, CallableType function_type = CallableType::kAny); |
| 164 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
| 165 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 166 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 165 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
| 167 }; | 166 }; |
| 168 | 167 |
| 169 } // namespace internal | 168 } // namespace internal |
| 170 } // namespace v8 | 169 } // namespace v8 |
| 171 | 170 |
| 172 #endif // V8_CODE_FACTORY_H_ | 171 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |