Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: src/ast-value-factory.h

Issue 934323004: Teach ModuleDescriptor about basic local exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handled review comments, added message tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/messages.js » ('j') | test/message/export-duplicate.out » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Internalized value (empty before internalized). 229 // Internalized value (empty before internalized).
230 Handle<Object> value_; 230 Handle<Object> value_;
231 }; 231 };
232 232
233 233
234 // For generating constants. 234 // For generating constants.
235 #define STRING_CONSTANTS(F) \ 235 #define STRING_CONSTANTS(F) \
236 F(anonymous_function, "(anonymous function)") \ 236 F(anonymous_function, "(anonymous function)") \
237 F(arguments, "arguments") \ 237 F(arguments, "arguments") \
238 F(constructor, "constructor") \ 238 F(constructor, "constructor") \
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") \
247 F(empty, "") \ 248 F(empty, "") \
248 F(eval, "eval") \ 249 F(eval, "eval") \
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 362
362 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { 363 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const {
363 return ast_value_factory->arguments_string() == this; 364 return ast_value_factory->arguments_string() == this;
364 } 365 }
365 } } // namespace v8::internal 366 } } // namespace v8::internal
366 367
367 #undef STRING_CONSTANTS 368 #undef STRING_CONSTANTS
368 #undef OTHER_CONSTANTS 369 #undef OTHER_CONSTANTS
369 370
370 #endif // V8_AST_VALUE_FACTORY_H_ 371 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/messages.js » ('j') | test/message/export-duplicate.out » ('J')

Powered by Google App Engine
This is Rietveld 408576698