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

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: add more symbols to anonymous namespace 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
« no previous file with comments | « src/harmony-atomics.js ('k') | src/objects.h » ('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 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 449
448 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 450 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
449 Handle<Object> message_obj); 451 Handle<Object> message_obj);
450 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 452 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
451 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 453 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
452 Handle<Object> data); 454 Handle<Object> data);
453 }; 455 };
454 } } // namespace v8::internal 456 } } // namespace v8::internal
455 457
456 #endif // V8_MESSAGES_H_ 458 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/harmony-atomics.js ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698