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

Side by Side Diff: src/messages.h

Issue 2113593002: Revert of Amend DataView, ArrayBuffer, and TypedArray methods to use ToIndex. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed revert Created 4 years, 5 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/js/typedarray.js ('k') | src/objects.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 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "a location, got %") \ 320 "a location, got %") \
321 T(InvalidArrayBufferLength, "Invalid array buffer length") \ 321 T(InvalidArrayBufferLength, "Invalid array buffer length") \
322 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \ 322 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \
323 T(InvalidArrayLength, "Invalid array length") \ 323 T(InvalidArrayLength, "Invalid array length") \
324 T(InvalidAtomicAccessIndex, "Invalid atomic access index") \ 324 T(InvalidAtomicAccessIndex, "Invalid atomic access index") \
325 T(InvalidCodePoint, "Invalid code point %") \ 325 T(InvalidCodePoint, "Invalid code point %") \
326 T(InvalidCountValue, "Invalid count value") \ 326 T(InvalidCountValue, "Invalid count value") \
327 T(InvalidCurrencyCode, "Invalid currency code: %") \ 327 T(InvalidCurrencyCode, "Invalid currency code: %") \
328 T(InvalidDataViewAccessorOffset, \ 328 T(InvalidDataViewAccessorOffset, \
329 "Offset is outside the bounds of the DataView") \ 329 "Offset is outside the bounds of the DataView") \
330 T(InvalidDataViewLength, "Invalid DataView length %") \ 330 T(InvalidDataViewLength, "Invalid data view length") \
331 T(InvalidDataViewOffset, \ 331 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \
332 "Start offset % is outside the bounds of the buffer") \
333 T(InvalidHint, "Invalid hint: %") \ 332 T(InvalidHint, "Invalid hint: %") \
334 T(InvalidLanguageTag, "Invalid language tag: %") \ 333 T(InvalidLanguageTag, "Invalid language tag: %") \
335 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ 334 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
336 T(InvalidWeakSetValue, "Invalid value used in weak set") \ 335 T(InvalidWeakSetValue, "Invalid value used in weak set") \
337 T(InvalidStringLength, "Invalid string length") \ 336 T(InvalidStringLength, "Invalid string length") \
338 T(InvalidTimeValue, "Invalid time value") \ 337 T(InvalidTimeValue, "Invalid time value") \
339 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ 338 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
340 T(InvalidTypedArrayLength, "Invalid typed array length") \ 339 T(InvalidTypedArrayLength, "Invalid typed array length") \
341 T(InvalidTypedArrayOffset, "Start offset is too large:") \ 340 T(InvalidTypedArrayOffset, "Start offset is too large:") \
342 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \ 341 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 532 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
534 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 533 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
535 Handle<Object> data); 534 Handle<Object> data);
536 }; 535 };
537 536
538 537
539 } // namespace internal 538 } // namespace internal
540 } // namespace v8 539 } // namespace v8
541 540
542 #endif // V8_MESSAGES_H_ 541 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698