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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 // Internalized value (empty before internalized). | 228 // Internalized value (empty before internalized). |
229 Handle<Object> value_; | 229 Handle<Object> value_; |
230 }; | 230 }; |
231 | 231 |
232 | 232 |
233 // For generating constants. | 233 // For generating constants. |
234 #define STRING_CONSTANTS(F) \ | 234 #define STRING_CONSTANTS(F) \ |
235 F(anonymous_function, "(anonymous function)") \ | 235 F(anonymous_function, "(anonymous function)") \ |
236 F(arguments, "arguments") \ | 236 F(arguments, "arguments") \ |
| 237 F(concat_iterable_to_array, "$concatIterableToArray") \ |
237 F(constructor, "constructor") \ | 238 F(constructor, "constructor") \ |
238 F(default, "default") \ | 239 F(default, "default") \ |
239 F(done, "done") \ | 240 F(done, "done") \ |
240 F(dot, ".") \ | 241 F(dot, ".") \ |
241 F(dot_for, ".for") \ | 242 F(dot_for, ".for") \ |
242 F(dot_generator, ".generator") \ | 243 F(dot_generator, ".generator") \ |
243 F(dot_generator_object, ".generator_object") \ | 244 F(dot_generator_object, ".generator_object") \ |
244 F(dot_iterator, ".iterator") \ | 245 F(dot_iterator, ".iterator") \ |
245 F(dot_module, ".module") \ | 246 F(dot_module, ".module") \ |
246 F(dot_result, ".result") \ | 247 F(dot_result, ".result") \ |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 #define F(name) AstValue* name##_; | 367 #define F(name) AstValue* name##_; |
367 OTHER_CONSTANTS(F) | 368 OTHER_CONSTANTS(F) |
368 #undef F | 369 #undef F |
369 }; | 370 }; |
370 } } // namespace v8::internal | 371 } } // namespace v8::internal |
371 | 372 |
372 #undef STRING_CONSTANTS | 373 #undef STRING_CONSTANTS |
373 #undef OTHER_CONSTANTS | 374 #undef OTHER_CONSTANTS |
374 | 375 |
375 #endif // V8_AST_VALUE_FACTORY_H_ | 376 #endif // V8_AST_VALUE_FACTORY_H_ |
OLD | NEW |