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

Side by Side Diff: src/messages.js

Issue 1007783002: Remove --harmony-scoping flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CR feedback Created 5 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
« no previous file with comments | « src/ic/ic.cc ('k') | src/mips/full-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 // ------------------------------------------------------------------- 5 // -------------------------------------------------------------------
6 6
7 var kMessages = { 7 var kMessages = {
8 // Error 8 // Error
9 cyclic_proto: ["Cyclic __proto__ value"], 9 cyclic_proto: ["Cyclic __proto__ value"],
10 code_gen_from_strings: ["%0"], 10 code_gen_from_strings: ["%0"],
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 strict_mode_with: ["Strict mode code may not include a with state ment"], 149 strict_mode_with: ["Strict mode code may not include a with state ment"],
150 strict_eval_arguments: ["Unexpected eval or arguments in strict mode"] , 150 strict_eval_arguments: ["Unexpected eval or arguments in strict mode"] ,
151 too_many_arguments: ["Too many arguments in function call (only 655 35 allowed)"], 151 too_many_arguments: ["Too many arguments in function call (only 655 35 allowed)"],
152 too_many_parameters: ["Too many parameters in function definition (o nly 65535 allowed)"], 152 too_many_parameters: ["Too many parameters in function definition (o nly 65535 allowed)"],
153 too_many_variables: ["Too many variables declared (only 4194303 all owed)"], 153 too_many_variables: ["Too many variables declared (only 4194303 all owed)"],
154 strict_param_dupe: ["Strict mode function may not have duplicate p arameter names"], 154 strict_param_dupe: ["Strict mode function may not have duplicate p arameter names"],
155 strict_octal_literal: ["Octal literals are not allowed in strict mode ."], 155 strict_octal_literal: ["Octal literals are not allowed in strict mode ."],
156 template_octal_literal: ["Octal literals are not allowed in template st rings."], 156 template_octal_literal: ["Octal literals are not allowed in template st rings."],
157 strict_delete: ["Delete of an unqualified identifier in strict mode."], 157 strict_delete: ["Delete of an unqualified identifier in strict mode."],
158 strict_delete_property: ["Cannot delete property '", "%0", "' of ", "%1 "], 158 strict_delete_property: ["Cannot delete property '", "%0", "' of ", "%1 "],
159 strict_const: ["Use of const in strict mode."],
160 strict_function: ["In strict mode code, functions can only be de clared at top level or immediately within another function." ], 159 strict_function: ["In strict mode code, functions can only be de clared at top level or immediately within another function." ],
161 strict_read_only_property: ["Cannot assign to read only property '", "%0", "' of ", "%1"], 160 strict_read_only_property: ["Cannot assign to read only property '", "%0", "' of ", "%1"],
162 strict_cannot_assign: ["Cannot assign to read only '", "%0", "' in st rict mode"], 161 strict_cannot_assign: ["Cannot assign to read only '", "%0", "' in st rict mode"],
163 strict_poison_pill: ["'caller', 'callee', and 'arguments' propertie s may not be accessed on strict mode functions or the arguments objects for call s to them"], 162 strict_poison_pill: ["'caller', 'callee', and 'arguments' propertie s may not be accessed on strict mode functions or the arguments objects for call s to them"],
164 strict_caller: ["Illegal access to a strict mode caller functi on."], 163 strict_caller: ["Illegal access to a strict mode caller functi on."],
165 strong_ellision: ["Please don't use arrays with holes in strong mode, use maps instead"], 164 strong_ellision: ["Please don't use arrays with holes in strong mode, use maps instead"],
166 strong_arguments: ["Please don't use 'arguments' in strong mode, use '...args' instead"], 165 strong_arguments: ["Please don't use 'arguments' in strong mode, use '...args' instead"],
167 strong_equal: ["Please don't use '==' or '!=' in strong mode, use '===' or '!==' instead"], 166 strong_equal: ["Please don't use '==' or '!=' in strong mode, use '===' or '!==' instead"],
168 strong_delete: ["Please don't use 'delete' in strong mode, use maps or sets instead"], 167 strong_delete: ["Please don't use 'delete' in strong mode, use maps or sets instead"],
169 strong_var: ["Please don't use 'var' in strong mode, use 'l et' or 'const' instead"], 168 strong_var: ["Please don't use 'var' in strong mode, use 'l et' or 'const' instead"],
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 function SetUpStackOverflowBoilerplate() { 1322 function SetUpStackOverflowBoilerplate() {
1324 var boilerplate = MakeRangeError('stack_overflow', []); 1323 var boilerplate = MakeRangeError('stack_overflow', []);
1325 1324
1326 %DefineAccessorPropertyUnchecked( 1325 %DefineAccessorPropertyUnchecked(
1327 boilerplate, 'stack', StackTraceGetter, StackTraceSetter, DONT_ENUM); 1326 boilerplate, 'stack', StackTraceGetter, StackTraceSetter, DONT_ENUM);
1328 1327
1329 return boilerplate; 1328 return boilerplate;
1330 } 1329 }
1331 1330
1332 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1331 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698