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

Side by Side Diff: src/messages.h

Issue 1162503002: Implement Atomics API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix warnings Created 5 years, 6 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
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 T(NonObjectPropertyStore, "Cannot set property '%' of %") \ 154 T(NonObjectPropertyStore, "Cannot set property '%' of %") \
155 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ 155 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \
156 T(NotAnIterator, "% is not an iterator") \ 156 T(NotAnIterator, "% is not an iterator") \
157 T(NotAPromise, "% is not a promise") \ 157 T(NotAPromise, "% is not a promise") \
158 T(NotConstructor, "% is not a constructor") \ 158 T(NotConstructor, "% is not a constructor") \
159 T(NotDateObject, "this is not a Date object.") \ 159 T(NotDateObject, "this is not a Date object.") \
160 T(NotIntlObject, "% is not an i18n object.") \ 160 T(NotIntlObject, "% is not an i18n object.") \
161 T(NotGeneric, "% is not generic") \ 161 T(NotGeneric, "% is not generic") \
162 T(NotIterable, "% is not iterable") \ 162 T(NotIterable, "% is not iterable") \
163 T(NotTypedArray, "this is not a typed array.") \ 163 T(NotTypedArray, "this is not a typed array.") \
164 T(NotSharedTypedArray, "% is not a shared typed array.") \
165 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \
164 T(ObjectGetterExpectingFunction, \ 166 T(ObjectGetterExpectingFunction, \
165 "Object.prototype.__defineGetter__: Expecting function") \ 167 "Object.prototype.__defineGetter__: Expecting function") \
166 T(ObjectGetterCallable, "Getter must be a function: %") \ 168 T(ObjectGetterCallable, "Getter must be a function: %") \
167 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ 169 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \
168 T(ObjectSetterExpectingFunction, \ 170 T(ObjectSetterExpectingFunction, \
169 "Object.prototype.__defineSetter__: Expecting function") \ 171 "Object.prototype.__defineSetter__: Expecting function") \
170 T(ObjectSetterCallable, "Setter must be a function: %") \ 172 T(ObjectSetterCallable, "Setter must be a function: %") \
171 T(ObserveCallbackFrozen, \ 173 T(ObserveCallbackFrozen, \
172 "Object.observe cannot deliver to a frozen function object") \ 174 "Object.observe cannot deliver to a frozen function object") \
173 T(ObserveGlobalProxy, "% cannot be called on the global proxy object") \ 175 T(ObserveGlobalProxy, "% cannot be called on the global proxy object") \
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 444
443 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 445 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
444 Handle<Object> message_obj); 446 Handle<Object> message_obj);
445 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 447 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
446 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 448 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
447 Handle<Object> data); 449 Handle<Object> data);
448 }; 450 };
449 } } // namespace v8::internal 451 } } // namespace v8::internal
450 452
451 #endif // V8_MESSAGES_H_ 453 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/harmony-atomics.js ('k') | src/objects.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698