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

Side by Side Diff: src/messages.h

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