OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 F(default, "default") \ | 249 F(default, "default") \ |
250 F(done, "done") \ | 250 F(done, "done") \ |
251 F(dot, ".") \ | 251 F(dot, ".") \ |
252 F(dot_for, ".for") \ | 252 F(dot_for, ".for") \ |
253 F(dot_generator, ".generator") \ | 253 F(dot_generator, ".generator") \ |
254 F(dot_generator_object, ".generator_object") \ | 254 F(dot_generator_object, ".generator_object") \ |
255 F(dot_iterator, ".iterator") \ | 255 F(dot_iterator, ".iterator") \ |
256 F(dot_module, ".module") \ | 256 F(dot_module, ".module") \ |
257 F(dot_result, ".result") \ | 257 F(dot_result, ".result") \ |
258 F(empty, "") \ | 258 F(empty, "") \ |
| 259 /* TODO(@caitp): get rid of these and use Array literals. */ \ |
| 260 F(empty_array, "$createEmptyArray") \ |
| 261 F(strong_empty_array, "$createStrongEmptyArray") \ |
259 F(eval, "eval") \ | 262 F(eval, "eval") \ |
260 F(get_template_callsite, "$getTemplateCallSite") \ | 263 F(get_template_callsite, "$getTemplateCallSite") \ |
261 F(initialize_const_global, "initializeConstGlobal") \ | 264 F(initialize_const_global, "initializeConstGlobal") \ |
262 F(initialize_var_global, "initializeVarGlobal") \ | 265 F(initialize_var_global, "initializeVarGlobal") \ |
263 F(is_construct_call, "_IsConstructCall") \ | 266 F(is_construct_call, "_IsConstructCall") \ |
264 F(is_spec_object, "_IsSpecObject") \ | 267 F(is_spec_object, "_IsSpecObject") \ |
| 268 F(length, "length") \ |
265 F(let, "let") \ | 269 F(let, "let") \ |
266 F(make_reference_error, "MakeReferenceError") \ | 270 F(make_reference_error, "MakeReferenceError") \ |
267 F(make_syntax_error, "MakeSyntaxError") \ | 271 F(make_syntax_error, "MakeSyntaxError") \ |
268 F(make_type_error, "MakeTypeError") \ | 272 F(make_type_error, "MakeTypeError") \ |
269 F(native, "native") \ | 273 F(native, "native") \ |
270 F(new_target, "new.target") \ | 274 F(new_target, "new.target") \ |
271 F(next, "next") \ | 275 F(next, "next") \ |
272 F(proto, "__proto__") \ | 276 F(proto, "__proto__") \ |
273 F(prototype, "prototype") \ | 277 F(prototype, "prototype") \ |
274 F(reflect_apply, "$reflectApply") \ | 278 F(reflect_apply, "$reflectApply") \ |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 #define F(name) AstValue* name##_; | 382 #define F(name) AstValue* name##_; |
379 OTHER_CONSTANTS(F) | 383 OTHER_CONSTANTS(F) |
380 #undef F | 384 #undef F |
381 }; | 385 }; |
382 } } // namespace v8::internal | 386 } } // namespace v8::internal |
383 | 387 |
384 #undef STRING_CONSTANTS | 388 #undef STRING_CONSTANTS |
385 #undef OTHER_CONSTANTS | 389 #undef OTHER_CONSTANTS |
386 | 390 |
387 #endif // V8_AST_VALUE_FACTORY_H_ | 391 #endif // V8_AST_VALUE_FACTORY_H_ |
OLD | NEW |