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

Side by Side Diff: src/messages.h

Issue 2372513003: [es8] Remove syntactic tail calls support. (Closed)
Patch Set: Created 4 years, 2 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/parsing/parser.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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 T(TooManyParameters, \ 586 T(TooManyParameters, \
587 "Too many parameters in function definition (only 65535 allowed)") \ 587 "Too many parameters in function definition (only 65535 allowed)") \
588 T(TooManySpreads, \ 588 T(TooManySpreads, \
589 "Literal containing too many nested spreads (up to 65534 allowed)") \ 589 "Literal containing too many nested spreads (up to 65534 allowed)") \
590 T(TooManyVariables, "Too many variables declared (only 4194303 allowed)") \ 590 T(TooManyVariables, "Too many variables declared (only 4194303 allowed)") \
591 T(TypedArrayTooShort, \ 591 T(TypedArrayTooShort, \
592 "Derived TypedArray constructor created an array which was too small") \ 592 "Derived TypedArray constructor created an array which was too small") \
593 T(UnexpectedEOS, "Unexpected end of input") \ 593 T(UnexpectedEOS, "Unexpected end of input") \
594 T(UnexpectedFunctionSent, \ 594 T(UnexpectedFunctionSent, \
595 "function.sent expression is not allowed outside a generator") \ 595 "function.sent expression is not allowed outside a generator") \
596 T(UnexpectedInsideTailCall, "Unexpected expression inside tail call") \
597 T(UnexpectedReserved, "Unexpected reserved word") \ 596 T(UnexpectedReserved, "Unexpected reserved word") \
598 T(UnexpectedStrictReserved, "Unexpected strict mode reserved word") \ 597 T(UnexpectedStrictReserved, "Unexpected strict mode reserved word") \
599 T(UnexpectedSuper, "'super' keyword unexpected here") \ 598 T(UnexpectedSuper, "'super' keyword unexpected here") \
600 T(UnexpectedSloppyTailCall, \
601 "Tail call expressions are not allowed in non-strict mode") \
602 T(UnexpectedNewTarget, "new.target expression is not allowed here") \ 599 T(UnexpectedNewTarget, "new.target expression is not allowed here") \
603 T(UnexpectedTailCall, "Tail call expression is not allowed here") \
604 T(UnexpectedTailCallInCatchBlock, \
605 "Tail call expression in catch block when finally block is also present") \
606 T(UnexpectedTailCallInForInOf, "Tail call expression in for-in/of body") \
607 T(UnexpectedTailCallInTryBlock, "Tail call expression in try block") \
608 T(UnexpectedTailCallOfEval, "Tail call of a direct eval is not allowed") \
609 T(UnexpectedTemplateString, "Unexpected template string") \ 600 T(UnexpectedTemplateString, "Unexpected template string") \
610 T(UnexpectedToken, "Unexpected token %") \ 601 T(UnexpectedToken, "Unexpected token %") \
611 T(UnexpectedTokenIdentifier, "Unexpected identifier") \ 602 T(UnexpectedTokenIdentifier, "Unexpected identifier") \
612 T(UnexpectedTokenNumber, "Unexpected number") \ 603 T(UnexpectedTokenNumber, "Unexpected number") \
613 T(UnexpectedTokenString, "Unexpected string") \ 604 T(UnexpectedTokenString, "Unexpected string") \
614 T(UnexpectedTokenRegExp, "Unexpected regular expression") \ 605 T(UnexpectedTokenRegExp, "Unexpected regular expression") \
615 T(UnknownLabel, "Undefined label '%'") \ 606 T(UnknownLabel, "Undefined label '%'") \
616 T(UnresolvableExport, "Module does not provide an export named '%'") \ 607 T(UnresolvableExport, "Module does not provide an export named '%'") \
617 T(UnterminatedArgList, "missing ) after argument list") \ 608 T(UnterminatedArgList, "missing ) after argument list") \
618 T(UnterminatedRegExp, "Invalid regular expression: missing /") \ 609 T(UnterminatedRegExp, "Invalid regular expression: missing /") \
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 681 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
691 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, 682 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate,
692 Handle<Object> data); 683 Handle<Object> data);
693 }; 684 };
694 685
695 686
696 } // namespace internal 687 } // namespace internal
697 } // namespace v8 688 } // namespace v8
698 689
699 #endif // V8_MESSAGES_H_ 690 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698