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

Side by Side Diff: src/messages.h

Issue 1695583003: [WIP] for-of iterator finalization (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 T(RegExpNonObject, "% getter called on non-object %") \ 287 T(RegExpNonObject, "% getter called on non-object %") \
288 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ 288 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
289 T(ReinitializeIntl, "Trying to re-initialize % object.") \ 289 T(ReinitializeIntl, "Trying to re-initialize % object.") \
290 T(ResolvedOptionsCalledOnNonObject, \ 290 T(ResolvedOptionsCalledOnNonObject, \
291 "resolvedOptions method called on a non-object or on a object that is " \ 291 "resolvedOptions method called on a non-object or on a object that is " \
292 "not Intl.%.") \ 292 "not Intl.%.") \
293 T(ResolverNotAFunction, "Promise resolver % is not a function") \ 293 T(ResolverNotAFunction, "Promise resolver % is not a function") \
294 T(RestrictedFunctionProperties, \ 294 T(RestrictedFunctionProperties, \
295 "'caller' and 'arguments' are restricted function properties and cannot " \ 295 "'caller' and 'arguments' are restricted function properties and cannot " \
296 "be accessed in this context.") \ 296 "be accessed in this context.") \
297 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \
297 T(StaticPrototype, "Classes may not have static property named prototype") \ 298 T(StaticPrototype, "Classes may not have static property named prototype") \
298 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \ 299 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \
299 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ 300 T(StrictDeleteProperty, "Cannot delete property '%' of %") \
300 T(StrictPoisonPill, \ 301 T(StrictPoisonPill, \
301 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ 302 "'caller', 'callee', and 'arguments' properties may not be accessed on " \
302 "strict mode functions or the arguments objects for calls to them") \ 303 "strict mode functions or the arguments objects for calls to them") \
303 T(StrictReadOnlyProperty, \ 304 T(StrictReadOnlyProperty, \
304 "Cannot assign to read only property '%' of % '%'") \ 305 "Cannot assign to read only property '%' of % '%'") \
305 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \ 306 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \
306 T(StrongArity, \ 307 T(StrongArity, \
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 564 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
564 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 565 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
565 Handle<Object> data); 566 Handle<Object> data);
566 }; 567 };
567 568
568 569
569 } // namespace internal 570 } // namespace internal
570 } // namespace v8 571 } // namespace v8
571 572
572 #endif // V8_MESSAGES_H_ 573 #endif // V8_MESSAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698