| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 illegal_let: ["Illegal let declaration outside extended mode
"], | 147 illegal_let: ["Illegal let declaration outside extended mode
"], |
| 148 error_loading_debugger: ["Error loading debugger"], | 148 error_loading_debugger: ["Error loading debugger"], |
| 149 no_input_to_regexp: ["No input to ", "%0"], | 149 no_input_to_regexp: ["No input to ", "%0"], |
| 150 invalid_json: ["String '", "%0", "' is not valid JSON"], | 150 invalid_json: ["String '", "%0", "' is not valid JSON"], |
| 151 circular_structure: ["Converting circular structure to JSON"], | 151 circular_structure: ["Converting circular structure to JSON"], |
| 152 called_on_non_object: ["%0", " called on non-object"], | 152 called_on_non_object: ["%0", " called on non-object"], |
| 153 called_on_null_or_undefined: ["%0", " called on null or undefined"], | 153 called_on_null_or_undefined: ["%0", " called on null or undefined"], |
| 154 array_indexof_not_defined: ["Array.getIndexOf: Argument undefined"], | 154 array_indexof_not_defined: ["Array.getIndexOf: Argument undefined"], |
| 155 object_not_extensible: ["Can't add property ", "%0", ", object is not
extensible"], | 155 object_not_extensible: ["Can't add property ", "%0", ", object is not
extensible"], |
| 156 illegal_access: ["Illegal access"], | 156 illegal_access: ["Illegal access"], |
| 157 invalid_preparser_data: ["Invalid preparser data for function ", "%0"], | 157 invalid_cached_data_function: ["Invalid cached data for function ", "%0"], |
| 158 invalid_cached_data: ["Invalid cached data"], |
| 158 strict_mode_with: ["Strict mode code may not include a with state
ment"], | 159 strict_mode_with: ["Strict mode code may not include a with state
ment"], |
| 159 strict_eval_arguments: ["Unexpected eval or arguments in strict mode"]
, | 160 strict_eval_arguments: ["Unexpected eval or arguments in strict mode"]
, |
| 160 too_many_arguments: ["Too many arguments in function call (only 655
35 allowed)"], | 161 too_many_arguments: ["Too many arguments in function call (only 655
35 allowed)"], |
| 161 too_many_parameters: ["Too many parameters in function definition (o
nly 65535 allowed)"], | 162 too_many_parameters: ["Too many parameters in function definition (o
nly 65535 allowed)"], |
| 162 too_many_variables: ["Too many variables declared (only 4194303 all
owed)"], | 163 too_many_variables: ["Too many variables declared (only 4194303 all
owed)"], |
| 163 strict_param_dupe: ["Strict mode function may not have duplicate p
arameter names"], | 164 strict_param_dupe: ["Strict mode function may not have duplicate p
arameter names"], |
| 164 strict_octal_literal: ["Octal literals are not allowed in strict mode
."], | 165 strict_octal_literal: ["Octal literals are not allowed in strict mode
."], |
| 165 strict_duplicate_property: ["Duplicate data property in object literal not
allowed in strict mode"], | 166 strict_duplicate_property: ["Duplicate data property in object literal not
allowed in strict mode"], |
| 166 accessor_data_property: ["Object literal may not have data and accessor
property with the same name"], | 167 accessor_data_property: ["Object literal may not have data and accessor
property with the same name"], |
| 167 accessor_get_set: ["Object literal may not have multiple get/set
accessors with the same name"], | 168 accessor_get_set: ["Object literal may not have multiple get/set
accessors with the same name"], |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 %GetAndClearOverflowedStackTrace(this); | 1349 %GetAndClearOverflowedStackTrace(this); |
| 1349 }; | 1350 }; |
| 1350 | 1351 |
| 1351 %DefineOrRedefineAccessorProperty( | 1352 %DefineOrRedefineAccessorProperty( |
| 1352 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1353 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1353 | 1354 |
| 1354 return boilerplate; | 1355 return boilerplate; |
| 1355 } | 1356 } |
| 1356 | 1357 |
| 1357 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1358 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |