| OLD | NEW | 
|    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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  121   T(DefineDisallowed, "Cannot define property:%, object is not extensible.")   \ |  121   T(DefineDisallowed, "Cannot define property:%, object is not extensible.")   \ | 
|  122   T(DetachedOperation, "Cannot perform % on a detached ArrayBuffer")           \ |  122   T(DetachedOperation, "Cannot perform % on a detached ArrayBuffer")           \ | 
|  123   T(DuplicateTemplateProperty, "Object template has duplicate property '%'")   \ |  123   T(DuplicateTemplateProperty, "Object template has duplicate property '%'")   \ | 
|  124   T(ExtendsValueNotConstructor,                                                \ |  124   T(ExtendsValueNotConstructor,                                                \ | 
|  125     "Class extends value % is not a constructor or null")                      \ |  125     "Class extends value % is not a constructor or null")                      \ | 
|  126   T(FirstArgumentNotRegExp,                                                    \ |  126   T(FirstArgumentNotRegExp,                                                    \ | 
|  127     "First argument to % must not be a regular expression")                    \ |  127     "First argument to % must not be a regular expression")                    \ | 
|  128   T(FunctionBind, "Bind must be called on a function")                         \ |  128   T(FunctionBind, "Bind must be called on a function")                         \ | 
|  129   T(GeneratorRunning, "Generator is already running")                          \ |  129   T(GeneratorRunning, "Generator is already running")                          \ | 
|  130   T(IllegalInvocation, "Illegal invocation")                                   \ |  130   T(IllegalInvocation, "Illegal invocation")                                   \ | 
 |  131   T(ImmutablePrototypeSet,                                                     \ | 
 |  132     "Immutable prototype object '%' cannot have their prototype set")          \ | 
|  131   T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %")  \ |  133   T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %")  \ | 
|  132   T(InstanceofNonobjectProto,                                                  \ |  134   T(InstanceofNonobjectProto,                                                  \ | 
|  133     "Function has non-object prototype '%' in instanceof check")               \ |  135     "Function has non-object prototype '%' in instanceof check")               \ | 
|  134   T(InvalidArgument, "invalid_argument")                                       \ |  136   T(InvalidArgument, "invalid_argument")                                       \ | 
|  135   T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %")   \ |  137   T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %")   \ | 
|  136   T(InvalidRegExpExecResult,                                                   \ |  138   T(InvalidRegExpExecResult,                                                   \ | 
|  137     "RegExp exec method returned something other than an Object or null")      \ |  139     "RegExp exec method returned something other than an Object or null")      \ | 
|  138   T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.")    \ |  140   T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.")    \ | 
|  139   T(IteratorResultNotAnObject, "Iterator result % is not an object")           \ |  141   T(IteratorResultNotAnObject, "Iterator result % is not an object")           \ | 
|  140   T(IteratorValueNotAnObject, "Iterator value % is not an entry object")       \ |  142   T(IteratorValueNotAnObject, "Iterator value % is not an entry object")       \ | 
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  531   static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); |  533   static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); | 
|  532   static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, |  534   static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, | 
|  533                                                            Handle<Object> data); |  535                                                            Handle<Object> data); | 
|  534 }; |  536 }; | 
|  535  |  537  | 
|  536  |  538  | 
|  537 }  // namespace internal |  539 }  // namespace internal | 
|  538 }  // namespace v8 |  540 }  // namespace v8 | 
|  539  |  541  | 
|  540 #endif  // V8_MESSAGES_H_ |  542 #endif  // V8_MESSAGES_H_ | 
| OLD | NEW |