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

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

Issue 898983002: Add strong mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code review + fixes 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/code-stubs.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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 F(let, "let") \ 252 F(let, "let") \
253 F(make_reference_error, "MakeReferenceErrorEmbedded") \ 253 F(make_reference_error, "MakeReferenceErrorEmbedded") \
254 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ 254 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \
255 F(make_type_error, "MakeTypeErrorEmbedded") \ 255 F(make_type_error, "MakeTypeErrorEmbedded") \
256 F(native, "native") \ 256 F(native, "native") \
257 F(next, "next") \ 257 F(next, "next") \
258 F(proto, "__proto__") \ 258 F(proto, "__proto__") \
259 F(prototype, "prototype") \ 259 F(prototype, "prototype") \
260 F(this, "this") \ 260 F(this, "this") \
261 F(use_asm, "use asm") \ 261 F(use_asm, "use asm") \
262 F(use_strong, "use strong") \
262 F(use_strict, "use strict") \ 263 F(use_strict, "use strict") \
263 F(value, "value") 264 F(value, "value")
264 265
265 #define OTHER_CONSTANTS(F) \ 266 #define OTHER_CONSTANTS(F) \
266 F(true_value) \ 267 F(true_value) \
267 F(false_value) \ 268 F(false_value) \
268 F(null_value) \ 269 F(null_value) \
269 F(undefined_value) \ 270 F(undefined_value) \
270 F(the_hole_value) 271 F(the_hole_value)
271 272
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698