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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 static Callable StringToNumber(Isolate* isolate); | 72 static Callable StringToNumber(Isolate* isolate); |
73 static Callable ToString(Isolate* isolate); | 73 static Callable ToString(Isolate* isolate); |
74 static Callable ToName(Isolate* isolate); | 74 static Callable ToName(Isolate* isolate); |
75 static Callable ToLength(Isolate* isolate); | 75 static Callable ToLength(Isolate* isolate); |
76 static Callable ToObject(Isolate* isolate); | 76 static Callable ToObject(Isolate* isolate); |
77 static Callable NumberToString(Isolate* isolate); | 77 static Callable NumberToString(Isolate* isolate); |
78 | 78 |
79 static Callable RegExpConstructResult(Isolate* isolate); | 79 static Callable RegExpConstructResult(Isolate* isolate); |
80 static Callable RegExpExec(Isolate* isolate); | 80 static Callable RegExpExec(Isolate* isolate); |
81 | 81 |
| 82 static Callable Add(Isolate* isolate); |
| 83 static Callable Subtract(Isolate* isolate); |
82 static Callable LessThan(Isolate* isolate); | 84 static Callable LessThan(Isolate* isolate); |
83 static Callable LessThanOrEqual(Isolate* isolate); | 85 static Callable LessThanOrEqual(Isolate* isolate); |
84 static Callable GreaterThan(Isolate* isolate); | 86 static Callable GreaterThan(Isolate* isolate); |
85 static Callable GreaterThanOrEqual(Isolate* isolate); | 87 static Callable GreaterThanOrEqual(Isolate* isolate); |
86 static Callable Equal(Isolate* isolate); | 88 static Callable Equal(Isolate* isolate); |
87 static Callable NotEqual(Isolate* isolate); | 89 static Callable NotEqual(Isolate* isolate); |
88 static Callable StrictEqual(Isolate* isolate); | 90 static Callable StrictEqual(Isolate* isolate); |
89 static Callable StrictNotEqual(Isolate* isolate); | 91 static Callable StrictNotEqual(Isolate* isolate); |
90 | 92 |
91 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 93 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 static Callable InterpreterPushArgsAndCall(Isolate* isolate, | 135 static Callable InterpreterPushArgsAndCall(Isolate* isolate, |
134 TailCallMode tail_call_mode); | 136 TailCallMode tail_call_mode); |
135 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 137 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
136 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 138 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
137 }; | 139 }; |
138 | 140 |
139 } // namespace internal | 141 } // namespace internal |
140 } // namespace v8 | 142 } // namespace v8 |
141 | 143 |
142 #endif // V8_CODE_FACTORY_H_ | 144 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |