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

Side by Side Diff: src/messages.h

Issue 1371263003: Prohibit let in lexical bindings (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove messages.js test 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 | « src/expression-classifier.h ('k') | src/parser.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ 260 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \
261 T(InvalidHint, "Invalid hint: %") \ 261 T(InvalidHint, "Invalid hint: %") \
262 T(InvalidLanguageTag, "Invalid language tag: %") \ 262 T(InvalidLanguageTag, "Invalid language tag: %") \
263 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ 263 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
264 T(InvalidWeakSetValue, "Invalid value used in weak set") \ 264 T(InvalidWeakSetValue, "Invalid value used in weak set") \
265 T(InvalidStringLength, "Invalid string length") \ 265 T(InvalidStringLength, "Invalid string length") \
266 T(InvalidTimeValue, "Invalid time value") \ 266 T(InvalidTimeValue, "Invalid time value") \
267 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ 267 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
268 T(InvalidTypedArrayLength, "Invalid typed array length") \ 268 T(InvalidTypedArrayLength, "Invalid typed array length") \
269 T(InvalidTypedArrayOffset, "Start offset is too large:") \ 269 T(InvalidTypedArrayOffset, "Start offset is too large:") \
270 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \
270 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ 271 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
271 T(NormalizationForm, "The normalization form should be one of %.") \ 272 T(NormalizationForm, "The normalization form should be one of %.") \
272 T(NumberFormatRange, "% argument must be between 0 and 20") \ 273 T(NumberFormatRange, "% argument must be between 0 and 20") \
273 T(PropertyValueOutOfRange, "% value is out of range.") \ 274 T(PropertyValueOutOfRange, "% value is out of range.") \
274 T(StackOverflow, "Maximum call stack size exceeded") \ 275 T(StackOverflow, "Maximum call stack size exceeded") \
275 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ 276 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
276 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ 277 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
277 T(TypedArraySetNegativeOffset, "Start offset is negative") \ 278 T(TypedArraySetNegativeOffset, "Start offset is negative") \
278 T(TypedArraySetSourceTooLarge, "Source is too large") \ 279 T(TypedArraySetSourceTooLarge, "Source is too large") \
279 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ 280 T(UnsupportedTimeZone, "Unsupported time zone specified %") \
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 488 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
488 Isolate* isolate, LookupIterator* property_lookup, 489 Isolate* isolate, LookupIterator* property_lookup,
489 Handle<String> default_value); 490 Handle<String> default_value);
490 491
491 List<Handle<JSObject> > visited_; 492 List<Handle<JSObject> > visited_;
492 }; 493 };
493 } // namespace internal 494 } // namespace internal
494 } // namespace v8 495 } // namespace v8
495 496
496 #endif // V8_MESSAGES_H_ 497 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/expression-classifier.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698