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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 F(make_syntax_error, "MakeSyntaxError") \ | 259 F(make_syntax_error, "MakeSyntaxError") \ |
260 F(make_type_error, "MakeTypeError") \ | 260 F(make_type_error, "MakeTypeError") \ |
261 F(module, "module") \ | 261 F(module, "module") \ |
262 F(native, "native") \ | 262 F(native, "native") \ |
263 F(next, "next") \ | 263 F(next, "next") \ |
264 F(proto, "__proto__") \ | 264 F(proto, "__proto__") \ |
265 F(prototype, "prototype") \ | 265 F(prototype, "prototype") \ |
266 F(this, "this") \ | 266 F(this, "this") \ |
267 F(use_asm, "use asm") \ | 267 F(use_asm, "use asm") \ |
268 F(use_strict, "use strict") \ | 268 F(use_strict, "use strict") \ |
269 F(value, "value") | 269 F(value, "value") \ |
| 270 F(GetTemplateCallSite, "GetTemplateCallSite") |
270 | 271 |
271 #define OTHER_CONSTANTS(F) \ | 272 #define OTHER_CONSTANTS(F) \ |
272 F(true_value) \ | 273 F(true_value) \ |
273 F(false_value) \ | 274 F(false_value) \ |
274 F(null_value) \ | 275 F(null_value) \ |
275 F(undefined_value) \ | 276 F(undefined_value) \ |
276 F(the_hole_value) | 277 F(the_hole_value) |
277 | 278 |
278 class AstValueFactory { | 279 class AstValueFactory { |
279 public: | 280 public: |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 359 |
359 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { | 360 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { |
360 return ast_value_factory->arguments_string() == this; | 361 return ast_value_factory->arguments_string() == this; |
361 } | 362 } |
362 } } // namespace v8::internal | 363 } } // namespace v8::internal |
363 | 364 |
364 #undef STRING_CONSTANTS | 365 #undef STRING_CONSTANTS |
365 #undef OTHER_CONSTANTS | 366 #undef OTHER_CONSTANTS |
366 | 367 |
367 #endif // V8_AST_VALUE_FACTORY_H_ | 368 #endif // V8_AST_VALUE_FACTORY_H_ |
OLD | NEW |