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

Side by Side Diff: src/messages.h

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. Created 3 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 | « src/json-stringifier.cc ('k') | src/mips/code-stubs-mips.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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 T(ImmutablePrototypeSet, \ 309 T(ImmutablePrototypeSet, \
310 "Immutable prototype object '%' cannot have their prototype set") \ 310 "Immutable prototype object '%' cannot have their prototype set") \
311 T(ImportCallNotNewExpression, "Cannot use new with import") \ 311 T(ImportCallNotNewExpression, "Cannot use new with import") \
312 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ 312 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
313 T(InstanceofNonobjectProto, \ 313 T(InstanceofNonobjectProto, \
314 "Function has non-object prototype '%' in instanceof check") \ 314 "Function has non-object prototype '%' in instanceof check") \
315 T(InvalidArgument, "invalid_argument") \ 315 T(InvalidArgument, "invalid_argument") \
316 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ 316 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
317 T(InvalidRegExpExecResult, \ 317 T(InvalidRegExpExecResult, \
318 "RegExp exec method returned something other than an Object or null") \ 318 "RegExp exec method returned something other than an Object or null") \
319 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \
320 T(IteratorResultNotAnObject, "Iterator result % is not an object") \ 319 T(IteratorResultNotAnObject, "Iterator result % is not an object") \
321 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \ 320 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \
322 T(LanguageID, "Language ID should be string or object.") \ 321 T(LanguageID, "Language ID should be string or object.") \
323 T(MethodCalledOnWrongObject, \ 322 T(MethodCalledOnWrongObject, \
324 "Method % called on a non-object or on a wrong type of object.") \ 323 "Method % called on a non-object or on a wrong type of object.") \
325 T(MethodInvokedOnNullOrUndefined, \ 324 T(MethodInvokedOnNullOrUndefined, \
326 "Method invoked on undefined or null value.") \ 325 "Method invoked on undefined or null value.") \
327 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \ 326 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \
328 T(NoAccess, "no access") \ 327 T(NoAccess, "no access") \
329 T(NonCallableInInstanceOfCheck, \ 328 T(NonCallableInInstanceOfCheck, \
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ 471 "'caller', 'callee', and 'arguments' properties may not be accessed on " \
473 "strict mode functions or the arguments objects for calls to them") \ 472 "strict mode functions or the arguments objects for calls to them") \
474 T(StrictReadOnlyProperty, \ 473 T(StrictReadOnlyProperty, \
475 "Cannot assign to read only property '%' of % '%'") \ 474 "Cannot assign to read only property '%' of % '%'") \
476 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \ 475 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \
477 T(SymbolIteratorInvalid, \ 476 T(SymbolIteratorInvalid, \
478 "Result of the Symbol.iterator method is not an object") \ 477 "Result of the Symbol.iterator method is not an object") \
479 T(SymbolKeyFor, "% is not a symbol") \ 478 T(SymbolKeyFor, "% is not a symbol") \
480 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ 479 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
481 T(SymbolToString, "Cannot convert a Symbol value to a string") \ 480 T(SymbolToString, "Cannot convert a Symbol value to a string") \
482 T(SimdToNumber, "Cannot convert a SIMD value to a number") \
483 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \ 481 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \
484 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ 482 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
485 T(ValueAndAccessor, \ 483 T(ValueAndAccessor, \
486 "Invalid property descriptor. Cannot both specify accessors and a value " \ 484 "Invalid property descriptor. Cannot both specify accessors and a value " \
487 "or writable attribute, %") \ 485 "or writable attribute, %") \
488 T(VarRedeclaration, "Identifier '%' has already been declared") \ 486 T(VarRedeclaration, "Identifier '%' has already been declared") \
489 T(WrongArgs, "%: Arguments list has wrong type") \ 487 T(WrongArgs, "%: Arguments list has wrong type") \
490 /* ReferenceError */ \ 488 /* ReferenceError */ \
491 T(NotDefined, "% is not defined") \ 489 T(NotDefined, "% is not defined") \
492 T(SuperAlreadyCalled, "Super constructor may only be called once") \ 490 T(SuperAlreadyCalled, "Super constructor may only be called once") \
(...skipping 19 matching lines...) Expand all
512 "Start offset % is outside the bounds of the buffer") \ 510 "Start offset % is outside the bounds of the buffer") \
513 T(InvalidHint, "Invalid hint: %") \ 511 T(InvalidHint, "Invalid hint: %") \
514 T(InvalidLanguageTag, "Invalid language tag: %") \ 512 T(InvalidLanguageTag, "Invalid language tag: %") \
515 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ 513 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
516 T(InvalidWeakSetValue, "Invalid value used in weak set") \ 514 T(InvalidWeakSetValue, "Invalid value used in weak set") \
517 T(InvalidStringLength, "Invalid string length") \ 515 T(InvalidStringLength, "Invalid string length") \
518 T(InvalidTimeValue, "Invalid time value") \ 516 T(InvalidTimeValue, "Invalid time value") \
519 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ 517 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
520 T(InvalidTypedArrayIndex, "Invalid typed array index") \ 518 T(InvalidTypedArrayIndex, "Invalid typed array index") \
521 T(InvalidTypedArrayLength, "Invalid typed array length") \ 519 T(InvalidTypedArrayLength, "Invalid typed array length") \
522 T(InvalidSimdIndex, "Index out of bounds for SIMD operation") \
523 T(InvalidSimdLaneValue, "Lane value out of bounds for SIMD operation") \
524 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \ 520 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \
525 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ 521 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
526 T(NormalizationForm, "The normalization form should be one of %.") \ 522 T(NormalizationForm, "The normalization form should be one of %.") \
527 T(NumberFormatRange, "% argument must be between 0 and 20") \ 523 T(NumberFormatRange, "% argument must be between 0 and 20") \
528 T(PropertyValueOutOfRange, "% value is out of range.") \ 524 T(PropertyValueOutOfRange, "% value is out of range.") \
529 T(StackOverflow, "Maximum call stack size exceeded") \ 525 T(StackOverflow, "Maximum call stack size exceeded") \
530 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ 526 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
531 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ 527 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
532 T(TypedArraySetNegativeOffset, "Start offset is negative") \ 528 T(TypedArraySetNegativeOffset, "Start offset is negative") \
533 T(TypedArraySetSourceTooLarge, "Source is too large") \ 529 T(TypedArraySetSourceTooLarge, "Source is too large") \
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 const MessageLocation* loc, 730 const MessageLocation* loc,
735 Handle<Object> message_obj, 731 Handle<Object> message_obj,
736 v8::Local<v8::Value> api_exception_obj); 732 v8::Local<v8::Value> api_exception_obj);
737 }; 733 };
738 734
739 735
740 } // namespace internal 736 } // namespace internal
741 } // namespace v8 737 } // namespace v8
742 738
743 #endif // V8_MESSAGES_H_ 739 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/json-stringifier.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698