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

Side by Side Diff: src/messages.h

Issue 1965443003: [simdjs] Implement error raising semantics as per spec for integers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review Created 4 years, 7 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 | « DEPS ('k') | src/runtime/runtime-simd.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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ 332 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \
333 T(InvalidHint, "Invalid hint: %") \ 333 T(InvalidHint, "Invalid hint: %") \
334 T(InvalidLanguageTag, "Invalid language tag: %") \ 334 T(InvalidLanguageTag, "Invalid language tag: %") \
335 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ 335 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
336 T(InvalidWeakSetValue, "Invalid value used in weak set") \ 336 T(InvalidWeakSetValue, "Invalid value used in weak set") \
337 T(InvalidStringLength, "Invalid string length") \ 337 T(InvalidStringLength, "Invalid string length") \
338 T(InvalidTimeValue, "Invalid time value") \ 338 T(InvalidTimeValue, "Invalid time value") \
339 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ 339 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
340 T(InvalidTypedArrayLength, "Invalid typed array length") \ 340 T(InvalidTypedArrayLength, "Invalid typed array length") \
341 T(InvalidTypedArrayOffset, "Start offset is too large:") \ 341 T(InvalidTypedArrayOffset, "Start offset is too large:") \
342 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \
343 T(InvalidSimdLaneValue, "Lane value out of bounds for SIMD operation") \
342 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \ 344 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \
343 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ 345 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
344 T(NormalizationForm, "The normalization form should be one of %.") \ 346 T(NormalizationForm, "The normalization form should be one of %.") \
345 T(NumberFormatRange, "% argument must be between 0 and 20") \ 347 T(NumberFormatRange, "% argument must be between 0 and 20") \
346 T(PropertyValueOutOfRange, "% value is out of range.") \ 348 T(PropertyValueOutOfRange, "% value is out of range.") \
347 T(StackOverflow, "Maximum call stack size exceeded") \ 349 T(StackOverflow, "Maximum call stack size exceeded") \
348 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ 350 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
349 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ 351 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
350 T(TypedArraySetNegativeOffset, "Start offset is negative") \ 352 T(TypedArraySetNegativeOffset, "Start offset is negative") \
351 T(TypedArraySetSourceTooLarge, "Source is too large") \ 353 T(TypedArraySetSourceTooLarge, "Source is too large") \
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 530 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
529 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 531 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
530 Handle<Object> data); 532 Handle<Object> data);
531 }; 533 };
532 534
533 535
534 } // namespace internal 536 } // namespace internal
535 } // namespace v8 537 } // namespace v8
536 538
537 #endif // V8_MESSAGES_H_ 539 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « DEPS ('k') | src/runtime/runtime-simd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698