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

Side by Side Diff: src/messages.h

Issue 2156303002: Implement new Function.prototype.toString and fix CreateDynamicFunction parsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 3 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
« no previous file with comments | « src/flag-definitions.h ('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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 T(NotIsvar, "builtin %%IS_VAR: not a variable") \ 586 T(NotIsvar, "builtin %%IS_VAR: not a variable") \
587 T(ParamAfterRest, "Rest parameter must be last formal parameter") \ 587 T(ParamAfterRest, "Rest parameter must be last formal parameter") \
588 T(PushPastSafeLength, \ 588 T(PushPastSafeLength, \
589 "Pushing % elements on an array-like of length % " \ 589 "Pushing % elements on an array-like of length % " \
590 "is disallowed, as the total surpasses 2**53-1") \ 590 "is disallowed, as the total surpasses 2**53-1") \
591 T(ElementAfterRest, "Rest element must be last element") \ 591 T(ElementAfterRest, "Rest element must be last element") \
592 T(BadSetterRestParameter, \ 592 T(BadSetterRestParameter, \
593 "Setter function argument must not be a rest parameter") \ 593 "Setter function argument must not be a rest parameter") \
594 T(ParamDupe, "Duplicate parameter name not allowed in this context") \ 594 T(ParamDupe, "Duplicate parameter name not allowed in this context") \
595 T(ParenthesisInArgString, "Function arg string contains parenthesis") \ 595 T(ParenthesisInArgString, "Function arg string contains parenthesis") \
596 T(ArgStringTerminatesParametersEarly, \
597 "Arg string terminates parameters early") \
598 T(UnexpectedEndOfArgString, "Unexpected end of arg string") \
596 T(RuntimeWrongNumArgs, "Runtime function given wrong number of arguments") \ 599 T(RuntimeWrongNumArgs, "Runtime function given wrong number of arguments") \
597 T(SingleFunctionLiteral, "Single function literal required") \ 600 T(SingleFunctionLiteral, "Single function literal required") \
598 T(SloppyFunction, \ 601 T(SloppyFunction, \
599 "In non-strict mode code, functions can only be declared at top level, " \ 602 "In non-strict mode code, functions can only be declared at top level, " \
600 "inside a block, or as the body of an if statement.") \ 603 "inside a block, or as the body of an if statement.") \
601 T(SpeciesNotConstructor, \ 604 T(SpeciesNotConstructor, \
602 "object.constructor[Symbol.species] is not a constructor") \ 605 "object.constructor[Symbol.species] is not a constructor") \
603 T(StrictDelete, "Delete of an unqualified identifier in strict mode.") \ 606 T(StrictDelete, "Delete of an unqualified identifier in strict mode.") \
604 T(StrictEvalArguments, "Unexpected eval or arguments in strict mode") \ 607 T(StrictEvalArguments, "Unexpected eval or arguments in strict mode") \
605 T(StrictFunction, \ 608 T(StrictFunction, \
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 const MessageLocation* loc, 736 const MessageLocation* loc,
734 Handle<Object> message_obj, 737 Handle<Object> message_obj,
735 v8::Local<v8::Value> api_exception_obj); 738 v8::Local<v8::Value> api_exception_obj);
736 }; 739 };
737 740
738 741
739 } // namespace internal 742 } // namespace internal
740 } // namespace v8 743 } // namespace v8
741 744
742 #endif // V8_MESSAGES_H_ 745 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698