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 29 matching lines...) Expand all Loading... |
40 unexpected_token_identifier: ["Unexpected identifier"], | 40 unexpected_token_identifier: ["Unexpected identifier"], |
41 unexpected_reserved: ["Unexpected reserved word"], | 41 unexpected_reserved: ["Unexpected reserved word"], |
42 unexpected_strict_reserved: ["Unexpected strict mode reserved word"], | 42 unexpected_strict_reserved: ["Unexpected strict mode reserved word"], |
43 unexpected_eos: ["Unexpected end of input"], | 43 unexpected_eos: ["Unexpected end of input"], |
44 malformed_regexp: ["Invalid regular expression: /", "%0", "/: ",
"%1"], | 44 malformed_regexp: ["Invalid regular expression: /", "%0", "/: ",
"%1"], |
45 unterminated_regexp: ["Invalid regular expression: missing /"], | 45 unterminated_regexp: ["Invalid regular expression: missing /"], |
46 regexp_flags: ["Cannot supply flags when constructing one Reg
Exp from another"], | 46 regexp_flags: ["Cannot supply flags when constructing one Reg
Exp from another"], |
47 incompatible_method_receiver: ["Method ", "%0", " called on incompatible rece
iver ", "%1"], | 47 incompatible_method_receiver: ["Method ", "%0", " called on incompatible rece
iver ", "%1"], |
48 multiple_defaults_in_switch: ["More than one default clause in switch statem
ent"], | 48 multiple_defaults_in_switch: ["More than one default clause in switch statem
ent"], |
49 newline_after_throw: ["Illegal newline after throw"], | 49 newline_after_throw: ["Illegal newline after throw"], |
50 redeclaration: ["%0", " '", "%1", "' has already been declared
"], | 50 label_redeclaration: ["Label '", "%0", "' has already been declared"
], |
| 51 var_redeclaration: ["Identifier '", "%0", "' has already been decl
ared"], |
51 no_catch_or_finally: ["Missing catch or finally after try"], | 52 no_catch_or_finally: ["Missing catch or finally after try"], |
52 unknown_label: ["Undefined label '", "%0", "'"], | 53 unknown_label: ["Undefined label '", "%0", "'"], |
53 uncaught_exception: ["Uncaught ", "%0"], | 54 uncaught_exception: ["Uncaught ", "%0"], |
54 stack_trace: ["Stack Trace:\n", "%0"], | 55 stack_trace: ["Stack Trace:\n", "%0"], |
55 called_non_callable: ["%0", " is not a function"], | 56 called_non_callable: ["%0", " is not a function"], |
56 undefined_method: ["Object ", "%1", " has no method '", "%0", "'"
], | 57 undefined_method: ["Object ", "%1", " has no method '", "%0", "'"
], |
57 property_not_function: ["Property '", "%0", "' of object ", "%1", " is
not a function"], | 58 property_not_function: ["Property '", "%0", "' of object ", "%1", " is
not a function"], |
58 cannot_convert_to_primitive: ["Cannot convert object to primitive value"], | 59 cannot_convert_to_primitive: ["Cannot convert object to primitive value"], |
59 not_constructor: ["%0", " is not a constructor"], | 60 not_constructor: ["%0", " is not a constructor"], |
60 not_defined: ["%0", " is not defined"], | 61 not_defined: ["%0", " is not defined"], |
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 %GetAndClearOverflowedStackTrace(this); | 1348 %GetAndClearOverflowedStackTrace(this); |
1348 }; | 1349 }; |
1349 | 1350 |
1350 %DefineOrRedefineAccessorProperty( | 1351 %DefineOrRedefineAccessorProperty( |
1351 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1352 boilerplate, 'stack', getter, setter, DONT_ENUM); |
1352 | 1353 |
1353 return boilerplate; | 1354 return boilerplate; |
1354 } | 1355 } |
1355 | 1356 |
1356 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1357 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
OLD | NEW |