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