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

Side by Side Diff: src/messages.h

Issue 1596483005: Add ES2015 RegExp full subclassing semantics behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: camelCase Created 4 years, 8 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/js/regexp.js ('k') | test/cctest/interpreter/bytecode_expectations/ForOf.golden » ('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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 T(FunctionBind, "Bind must be called on a function") \ 129 T(FunctionBind, "Bind must be called on a function") \
130 T(GeneratorRunning, "Generator is already running") \ 130 T(GeneratorRunning, "Generator is already running") \
131 T(IllegalInvocation, "Illegal invocation") \ 131 T(IllegalInvocation, "Illegal invocation") \
132 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ 132 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
133 T(InstanceofFunctionExpected, \ 133 T(InstanceofFunctionExpected, \
134 "Expecting a function in instanceof check, but got %") \ 134 "Expecting a function in instanceof check, but got %") \
135 T(InstanceofNonobjectProto, \ 135 T(InstanceofNonobjectProto, \
136 "Function has non-object prototype '%' in instanceof check") \ 136 "Function has non-object prototype '%' in instanceof check") \
137 T(InvalidArgument, "invalid_argument") \ 137 T(InvalidArgument, "invalid_argument") \
138 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ 138 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
139 T(InvalidRegExpExecResult, \
140 "RegExp exec method returned something other than an Object or null") \
139 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \ 141 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \
140 T(IteratorResultNotAnObject, "Iterator result % is not an object") \ 142 T(IteratorResultNotAnObject, "Iterator result % is not an object") \
141 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \ 143 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \
142 T(LanguageID, "Language ID should be string or object.") \ 144 T(LanguageID, "Language ID should be string or object.") \
143 T(MethodCalledOnWrongObject, \ 145 T(MethodCalledOnWrongObject, \
144 "Method % called on a non-object or on a wrong type of object.") \ 146 "Method % called on a non-object or on a wrong type of object.") \
145 T(MethodInvokedOnNullOrUndefined, \ 147 T(MethodInvokedOnNullOrUndefined, \
146 "Method invoked on undefined or null value.") \ 148 "Method invoked on undefined or null value.") \
147 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \ 149 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \
148 T(NoAccess, "no access") \ 150 T(NoAccess, "no access") \
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 517 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
516 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 518 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
517 Handle<Object> data); 519 Handle<Object> data);
518 }; 520 };
519 521
520 522
521 } // namespace internal 523 } // namespace internal
522 } // namespace v8 524 } // namespace v8
523 525
524 #endif // V8_MESSAGES_H_ 526 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/regexp.js ('k') | test/cctest/interpreter/bytecode_expectations/ForOf.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698