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

Side by Side Diff: src/messages.js

Issue 844006: Merge changes up to V8 version 2.1.3 into the partial snapshots (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/messages.cc ('k') | src/mips/codegen-mips.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 cyclic_proto: "Cyclic __proto__ value", 130 cyclic_proto: "Cyclic __proto__ value",
131 // TypeError 131 // TypeError
132 unexpected_token: "Unexpected token %0", 132 unexpected_token: "Unexpected token %0",
133 unexpected_token_number: "Unexpected number", 133 unexpected_token_number: "Unexpected number",
134 unexpected_token_string: "Unexpected string", 134 unexpected_token_string: "Unexpected string",
135 unexpected_token_identifier: "Unexpected identifier", 135 unexpected_token_identifier: "Unexpected identifier",
136 unexpected_eos: "Unexpected end of input", 136 unexpected_eos: "Unexpected end of input",
137 malformed_regexp: "Invalid regular expression: /%0/: %1", 137 malformed_regexp: "Invalid regular expression: /%0/: %1",
138 unterminated_regexp: "Invalid regular expression: missing /", 138 unterminated_regexp: "Invalid regular expression: missing /",
139 regexp_flags: "Cannot supply flags when constructing one R egExp from another", 139 regexp_flags: "Cannot supply flags when constructing one R egExp from another",
140 incompatible_method_receiver: "Method %0 called on incompatible receiver % 1",
140 invalid_lhs_in_assignment: "Invalid left-hand side in assignment", 141 invalid_lhs_in_assignment: "Invalid left-hand side in assignment",
141 invalid_lhs_in_for_in: "Invalid left-hand side in for-in", 142 invalid_lhs_in_for_in: "Invalid left-hand side in for-in",
142 invalid_lhs_in_postfix_op: "Invalid left-hand side expression in postfi x operation", 143 invalid_lhs_in_postfix_op: "Invalid left-hand side expression in postfi x operation",
143 invalid_lhs_in_prefix_op: "Invalid left-hand side expression in prefix operation", 144 invalid_lhs_in_prefix_op: "Invalid left-hand side expression in prefix operation",
144 multiple_defaults_in_switch: "More than one default clause in switch stat ement", 145 multiple_defaults_in_switch: "More than one default clause in switch stat ement",
145 newline_after_throw: "Illegal newline after throw", 146 newline_after_throw: "Illegal newline after throw",
146 redeclaration: "%0 '%1' has already been declared", 147 redeclaration: "%0 '%1' has already been declared",
147 no_catch_or_finally: "Missing catch or finally after try", 148 no_catch_or_finally: "Missing catch or finally after try",
148 unknown_label: "Undefined label '%0'", 149 unknown_label: "Undefined label '%0'",
149 uncaught_exception: "Uncaught %0", 150 uncaught_exception: "Uncaught %0",
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } ); 940 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } );
940 } 941 }
941 var message = this.message; 942 var message = this.message;
942 return this.name + (message ? (": " + message) : ""); 943 return this.name + (message ? (": " + message) : "");
943 }, DONT_ENUM); 944 }, DONT_ENUM);
944 945
945 946
946 // Boilerplate for exceptions for stack overflows. Used from 947 // Boilerplate for exceptions for stack overflows. Used from
947 // Top::StackOverflow(). 948 // Top::StackOverflow().
948 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 949 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « src/messages.cc ('k') | src/mips/codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698