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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 T(FunctionBind, "Bind must be called on a function") \ | 120 T(FunctionBind, "Bind must be called on a function") \ |
121 T(GeneratorRunning, "Generator is already running") \ | 121 T(GeneratorRunning, "Generator is already running") \ |
122 T(IllegalInvocation, "Illegal invocation") \ | 122 T(IllegalInvocation, "Illegal invocation") \ |
123 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ | 123 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ |
124 T(InstanceofFunctionExpected, \ | 124 T(InstanceofFunctionExpected, \ |
125 "Expecting a function in instanceof check, but got %") \ | 125 "Expecting a function in instanceof check, but got %") \ |
126 T(InstanceofNonobjectProto, \ | 126 T(InstanceofNonobjectProto, \ |
127 "Function has non-object prototype '%' in instanceof check") \ | 127 "Function has non-object prototype '%' in instanceof check") \ |
128 T(InvalidArgument, "invalid_argument") \ | 128 T(InvalidArgument, "invalid_argument") \ |
129 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ | 129 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ |
| 130 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \ |
130 T(IteratorResultNotAnObject, "Iterator result % is not an object") \ | 131 T(IteratorResultNotAnObject, "Iterator result % is not an object") \ |
131 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \ | 132 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \ |
132 T(LanguageID, "Language ID should be string or object.") \ | 133 T(LanguageID, "Language ID should be string or object.") \ |
133 T(MethodCalledOnWrongObject, \ | 134 T(MethodCalledOnWrongObject, \ |
134 "Method % called on a non-object or on a wrong type of object.") \ | 135 "Method % called on a non-object or on a wrong type of object.") \ |
135 T(MethodInvokedOnNullOrUndefined, \ | 136 T(MethodInvokedOnNullOrUndefined, \ |
136 "Method invoked on undefined or null value.") \ | 137 "Method invoked on undefined or null value.") \ |
137 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \ | 138 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \ |
138 T(NoAccess, "no access") \ | 139 T(NoAccess, "no access") \ |
139 T(NonCoercible, "Cannot match against 'undefined' or 'null'.") \ | 140 T(NonCoercible, "Cannot match against 'undefined' or 'null'.") \ |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 503 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
503 Isolate* isolate, LookupIterator* property_lookup, | 504 Isolate* isolate, LookupIterator* property_lookup, |
504 Handle<String> default_value); | 505 Handle<String> default_value); |
505 | 506 |
506 List<Handle<JSObject> > visited_; | 507 List<Handle<JSObject> > visited_; |
507 }; | 508 }; |
508 } // namespace internal | 509 } // namespace internal |
509 } // namespace v8 | 510 } // namespace v8 |
510 | 511 |
511 #endif // V8_MESSAGES_H_ | 512 #endif // V8_MESSAGES_H_ |
OLD | NEW |