| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 F(dot_generator, ".generator") \ | 242 F(dot_generator, ".generator") \ |
| 243 F(dot_generator_object, ".generator_object") \ | 243 F(dot_generator_object, ".generator_object") \ |
| 244 F(dot_iterator, ".iterator") \ | 244 F(dot_iterator, ".iterator") \ |
| 245 F(dot_module, ".module") \ | 245 F(dot_module, ".module") \ |
| 246 F(dot_result, ".result") \ | 246 F(dot_result, ".result") \ |
| 247 F(empty, "") \ | 247 F(empty, "") \ |
| 248 F(eval, "eval") \ | 248 F(eval, "eval") \ |
| 249 F(get_template_callsite, "GetTemplateCallSite") \ | 249 F(get_template_callsite, "GetTemplateCallSite") \ |
| 250 F(initialize_const_global, "initializeConstGlobal") \ | 250 F(initialize_const_global, "initializeConstGlobal") \ |
| 251 F(initialize_var_global, "initializeVarGlobal") \ | 251 F(initialize_var_global, "initializeVarGlobal") \ |
| 252 F(is_construct_call, "_IsConstructCall") \ | |
| 253 F(let, "let") \ | 252 F(let, "let") \ |
| 254 F(make_reference_error, "MakeReferenceErrorEmbedded") \ | 253 F(make_reference_error, "MakeReferenceErrorEmbedded") \ |
| 255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ | 254 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ |
| 256 F(make_type_error, "MakeTypeErrorEmbedded") \ | 255 F(make_type_error, "MakeTypeErrorEmbedded") \ |
| 257 F(native, "native") \ | 256 F(native, "native") \ |
| 258 F(new_target, "new.target") \ | |
| 259 F(next, "next") \ | 257 F(next, "next") \ |
| 260 F(proto, "__proto__") \ | 258 F(proto, "__proto__") \ |
| 261 F(prototype, "prototype") \ | 259 F(prototype, "prototype") \ |
| 262 F(this, "this") \ | 260 F(this, "this") \ |
| 263 F(use_asm, "use asm") \ | 261 F(use_asm, "use asm") \ |
| 264 F(use_strong, "use strong") \ | 262 F(use_strong, "use strong") \ |
| 265 F(use_strict, "use strict") \ | 263 F(use_strict, "use strict") \ |
| 266 F(value, "value") | 264 F(value, "value") \ |
| 265 F(is_construct_call, "_IsConstructCall") |
| 267 | 266 |
| 268 #define OTHER_CONSTANTS(F) \ | 267 #define OTHER_CONSTANTS(F) \ |
| 269 F(true_value) \ | 268 F(true_value) \ |
| 270 F(false_value) \ | 269 F(false_value) \ |
| 271 F(null_value) \ | 270 F(null_value) \ |
| 272 F(undefined_value) \ | 271 F(undefined_value) \ |
| 273 F(the_hole_value) | 272 F(the_hole_value) |
| 274 | 273 |
| 275 class AstValueFactory { | 274 class AstValueFactory { |
| 276 public: | 275 public: |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 360 |
| 362 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { | 361 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { |
| 363 return ast_value_factory->arguments_string() == this; | 362 return ast_value_factory->arguments_string() == this; |
| 364 } | 363 } |
| 365 } } // namespace v8::internal | 364 } } // namespace v8::internal |
| 366 | 365 |
| 367 #undef STRING_CONSTANTS | 366 #undef STRING_CONSTANTS |
| 368 #undef OTHER_CONSTANTS | 367 #undef OTHER_CONSTANTS |
| 369 | 368 |
| 370 #endif // V8_AST_VALUE_FACTORY_H_ | 369 #endif // V8_AST_VALUE_FACTORY_H_ |
| OLD | NEW |