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

Side by Side Diff: src/messages.h

Issue 1996943002: [esnext] Fix various callsites to use is_resumable, not is_generator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: don't pass unneeded zero Created 4 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/factory.cc ('k') | src/objects-printer.cc » ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 T(CurrencyCode, "Currency code is required with currency style.") \ 114 T(CurrencyCode, "Currency code is required with currency style.") \
115 T(DataViewNotArrayBuffer, \ 115 T(DataViewNotArrayBuffer, \
116 "First argument to DataView constructor must be an ArrayBuffer") \ 116 "First argument to DataView constructor must be an ArrayBuffer") \
117 T(DateType, "this is not a Date object.") \ 117 T(DateType, "this is not a Date object.") \
118 T(DebuggerFrame, "Debugger: Invalid frame index.") \ 118 T(DebuggerFrame, "Debugger: Invalid frame index.") \
119 T(DebuggerType, "Debugger: Parameters have wrong types.") \ 119 T(DebuggerType, "Debugger: Parameters have wrong types.") \
120 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \ 120 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \
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(ExtendsValueGenerator, \ 124 T(ExtendsValueNotConstructor, \
125 "Class extends value % may not be a generator function") \ 125 "Class extends value % is not a constructor or null") \
126 T(ExtendsValueNotFunction, \
127 "Class extends value % is not a function or null") \
128 T(FirstArgumentNotRegExp, \ 126 T(FirstArgumentNotRegExp, \
129 "First argument to % must not be a regular expression") \ 127 "First argument to % must not be a regular expression") \
130 T(FunctionBind, "Bind must be called on a function") \ 128 T(FunctionBind, "Bind must be called on a function") \
131 T(GeneratorRunning, "Generator is already running") \ 129 T(GeneratorRunning, "Generator is already running") \
132 T(IllegalInvocation, "Illegal invocation") \ 130 T(IllegalInvocation, "Illegal invocation") \
133 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ 131 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
134 T(InstanceofNonobjectProto, \ 132 T(InstanceofNonobjectProto, \
135 "Function has non-object prototype '%' in instanceof check") \ 133 "Function has non-object prototype '%' in instanceof check") \
136 T(InvalidArgument, "invalid_argument") \ 134 T(InvalidArgument, "invalid_argument") \
137 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ 135 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 529 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
532 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 530 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
533 Handle<Object> data); 531 Handle<Object> data);
534 }; 532 };
535 533
536 534
537 } // namespace internal 535 } // namespace internal
538 } // namespace v8 536 } // namespace v8
539 537
540 #endif // V8_MESSAGES_H_ 538 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698