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

Side by Side Diff: src/messages.h

Issue 2431223005: Implement DefineOwnProperty for TypedArrays (Closed)
Patch Set: formatting fixes Created 4 years 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/objects.h » ('j') | test/mjsunit/element-accessor.js » ('J')
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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 T(InvalidDataViewLength, "Invalid DataView length %") \ 496 T(InvalidDataViewLength, "Invalid DataView length %") \
497 T(InvalidDataViewOffset, \ 497 T(InvalidDataViewOffset, \
498 "Start offset % is outside the bounds of the buffer") \ 498 "Start offset % is outside the bounds of the buffer") \
499 T(InvalidHint, "Invalid hint: %") \ 499 T(InvalidHint, "Invalid hint: %") \
500 T(InvalidLanguageTag, "Invalid language tag: %") \ 500 T(InvalidLanguageTag, "Invalid language tag: %") \
501 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ 501 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
502 T(InvalidWeakSetValue, "Invalid value used in weak set") \ 502 T(InvalidWeakSetValue, "Invalid value used in weak set") \
503 T(InvalidStringLength, "Invalid string length") \ 503 T(InvalidStringLength, "Invalid string length") \
504 T(InvalidTimeValue, "Invalid time value") \ 504 T(InvalidTimeValue, "Invalid time value") \
505 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ 505 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
506 T(InvalidTypedArrayIndex, "Invalid typed array index") \
506 T(InvalidTypedArrayLength, "Invalid typed array length") \ 507 T(InvalidTypedArrayLength, "Invalid typed array length") \
507 T(InvalidTypedArrayOffset, "Start offset is too large:") \
508 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \ 508 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \
509 T(InvalidSimdLaneValue, "Lane value out of bounds for SIMD operation") \ 509 T(InvalidSimdLaneValue, "Lane value out of bounds for SIMD operation") \
510 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \ 510 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \
511 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ 511 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
512 T(NormalizationForm, "The normalization form should be one of %.") \ 512 T(NormalizationForm, "The normalization form should be one of %.") \
513 T(NumberFormatRange, "% argument must be between 0 and 20") \ 513 T(NumberFormatRange, "% argument must be between 0 and 20") \
514 T(PropertyValueOutOfRange, "% value is out of range.") \ 514 T(PropertyValueOutOfRange, "% value is out of range.") \
515 T(StackOverflow, "Maximum call stack size exceeded") \ 515 T(StackOverflow, "Maximum call stack size exceeded") \
516 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ 516 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
517 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ 517 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 702 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
703 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, 703 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate,
704 Handle<Object> data); 704 Handle<Object> data);
705 }; 705 };
706 706
707 707
708 } // namespace internal 708 } // namespace internal
709 } // namespace v8 709 } // namespace v8
710 710
711 #endif // V8_MESSAGES_H_ 711 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | test/mjsunit/element-accessor.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698