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

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

Issue 1400973002: Throw when calling an undefined function Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/parser.h » ('j') | no next file with comments »
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(rest_parameter, ".rest_parameter") \ 266 F(rest_parameter, ".rest_parameter") \
267 F(this, "this") \ 267 F(this, "this") \
268 F(this_function, ".this_function") \ 268 F(this_function, ".this_function") \
269 F(undefined, "undefined") \ 269 F(undefined, "undefined") \
270 F(use_asm, "use asm") \ 270 F(use_asm, "use asm") \
271 F(use_strong, "use strong") \ 271 F(use_strong, "use strong") \
272 F(use_strict, "use strict") \ 272 F(use_strict, "use strict") \
273 F(value, "value") 273 F(value, "value") \
274 F(throwLittleDan, "throwLittleDan")
274 275
275 #define OTHER_CONSTANTS(F) \ 276 #define OTHER_CONSTANTS(F) \
276 F(true_value) \ 277 F(true_value) \
277 F(false_value) \ 278 F(false_value) \
278 F(null_value) \ 279 F(null_value) \
279 F(undefined_value) \ 280 F(undefined_value) \
280 F(the_hole_value) 281 F(the_hole_value)
281 282
282 class AstValueFactory { 283 class AstValueFactory {
283 public: 284 public:
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 OTHER_CONSTANTS(F) 367 OTHER_CONSTANTS(F)
367 #undef F 368 #undef F
368 }; 369 };
369 } // namespace internal 370 } // namespace internal
370 } // namespace v8 371 } // namespace v8
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_
OLDNEW
« no previous file with comments | « no previous file | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698