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

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

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add construct support, clean out some gunk 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
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 F(is_construct_call, "_IsConstructCall") \ 252 F(is_construct_call, "_IsConstructCall") \
253 F(let, "let") \ 253 F(let, "let") \
254 F(make_reference_error, "MakeReferenceErrorEmbedded") \ 254 F(make_reference_error, "MakeReferenceErrorEmbedded") \
255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ 255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \
256 F(make_type_error, "MakeTypeErrorEmbedded") \ 256 F(make_type_error, "MakeTypeErrorEmbedded") \
257 F(native, "native") \ 257 F(native, "native") \
258 F(new_target, "new.target") \ 258 F(new_target, "new.target") \
259 F(next, "next") \ 259 F(next, "next") \
260 F(proto, "__proto__") \ 260 F(proto, "__proto__") \
261 F(prototype, "prototype") \ 261 F(prototype, "prototype") \
262 F(spread_call, "SpreadCall") \
263 F(spread_call_new, "SpreadCallNew") \
262 F(this, "this") \ 264 F(this, "this") \
263 F(use_asm, "use asm") \ 265 F(use_asm, "use asm") \
264 F(use_strong, "use strong") \ 266 F(use_strong, "use strong") \
265 F(use_strict, "use strict") \ 267 F(use_strict, "use strict") \
266 F(value, "value") 268 F(value, "value")
267 269
268 #define OTHER_CONSTANTS(F) \ 270 #define OTHER_CONSTANTS(F) \
269 F(true_value) \ 271 F(true_value) \
270 F(false_value) \ 272 F(false_value) \
271 F(null_value) \ 273 F(null_value) \
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 363
362 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const { 364 bool AstRawString::IsArguments(AstValueFactory* ast_value_factory) const {
363 return ast_value_factory->arguments_string() == this; 365 return ast_value_factory->arguments_string() == this;
364 } 366 }
365 } } // namespace v8::internal 367 } } // namespace v8::internal
366 368
367 #undef STRING_CONSTANTS 369 #undef STRING_CONSTANTS
368 #undef OTHER_CONSTANTS 370 #undef OTHER_CONSTANTS
369 371
370 #endif // V8_AST_VALUE_FACTORY_H_ 372 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast-numbering.cc ('k') | src/bootstrapper.cc » ('j') | src/compiler/ast-graph-builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698