OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_H_ |
6 #define V8_BUILTINS_H_ | 6 #define V8_BUILTINS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Define list of builtins implemented in JavaScript. | 165 // Define list of builtins implemented in JavaScript. |
166 #define BUILTINS_LIST_JS(V) \ | 166 #define BUILTINS_LIST_JS(V) \ |
167 V(EQUALS, 1) \ | 167 V(EQUALS, 1) \ |
168 V(STRICT_EQUALS, 1) \ | 168 V(STRICT_EQUALS, 1) \ |
169 V(COMPARE, 2) \ | 169 V(COMPARE, 2) \ |
170 V(ADD, 1) \ | 170 V(ADD, 1) \ |
171 V(SUB, 1) \ | 171 V(SUB, 1) \ |
172 V(MUL, 1) \ | 172 V(MUL, 1) \ |
173 V(DIV, 1) \ | 173 V(DIV, 1) \ |
174 V(MOD, 1) \ | 174 V(MOD, 1) \ |
| 175 V(EXP, 1) \ |
175 V(BIT_OR, 1) \ | 176 V(BIT_OR, 1) \ |
176 V(BIT_AND, 1) \ | 177 V(BIT_AND, 1) \ |
177 V(BIT_XOR, 1) \ | 178 V(BIT_XOR, 1) \ |
178 V(SHL, 1) \ | 179 V(SHL, 1) \ |
179 V(SAR, 1) \ | 180 V(SAR, 1) \ |
180 V(SHR, 1) \ | 181 V(SHR, 1) \ |
181 V(DELETE, 2) \ | 182 V(DELETE, 2) \ |
182 V(IN, 1) \ | 183 V(IN, 1) \ |
183 V(INSTANCE_OF, 1) \ | 184 V(INSTANCE_OF, 1) \ |
184 V(FILTER_KEY, 1) \ | 185 V(FILTER_KEY, 1) \ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 344 |
344 friend class BuiltinFunctionTable; | 345 friend class BuiltinFunctionTable; |
345 friend class Isolate; | 346 friend class Isolate; |
346 | 347 |
347 DISALLOW_COPY_AND_ASSIGN(Builtins); | 348 DISALLOW_COPY_AND_ASSIGN(Builtins); |
348 }; | 349 }; |
349 | 350 |
350 } } // namespace v8::internal | 351 } } // namespace v8::internal |
351 | 352 |
352 #endif // V8_BUILTINS_H_ | 353 #endif // V8_BUILTINS_H_ |
OLD | NEW |