| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 ["Source is too large"], | 119 ["Source is too large"], |
| 120 typed_array_set_negative_offset: | 120 typed_array_set_negative_offset: |
| 121 ["Start offset is negative"], | 121 ["Start offset is negative"], |
| 122 invalid_data_view_offset: ["Start offset is outside the bounds of the buf
fer"], | 122 invalid_data_view_offset: ["Start offset is outside the bounds of the buf
fer"], |
| 123 invalid_data_view_length: ["Invalid data view length"], | 123 invalid_data_view_length: ["Invalid data view length"], |
| 124 invalid_data_view_accessor_offset: | 124 invalid_data_view_accessor_offset: |
| 125 ["Offset is outside the bounds of the DataView"
], | 125 ["Offset is outside the bounds of the DataView"
], |
| 126 | 126 |
| 127 stack_overflow: ["Maximum call stack size exceeded"], | 127 stack_overflow: ["Maximum call stack size exceeded"], |
| 128 invalid_time_value: ["Invalid time value"], | 128 invalid_time_value: ["Invalid time value"], |
| 129 invalid_count_value: ["Invalid count value"], |
| 129 // SyntaxError | 130 // SyntaxError |
| 130 paren_in_arg_string: ["Function arg string contains parenthesis"], | 131 paren_in_arg_string: ["Function arg string contains parenthesis"], |
| 131 not_isvar: ["builtin %IS_VAR: not a variable"], | 132 not_isvar: ["builtin %IS_VAR: not a variable"], |
| 132 single_function_literal: ["Single function literal required"], | 133 single_function_literal: ["Single function literal required"], |
| 133 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], | 134 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], |
| 134 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], | 135 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], |
| 135 illegal_break: ["Illegal break statement"], | 136 illegal_break: ["Illegal break statement"], |
| 136 illegal_continue: ["Illegal continue statement"], | 137 illegal_continue: ["Illegal continue statement"], |
| 137 illegal_return: ["Illegal return statement"], | 138 illegal_return: ["Illegal return statement"], |
| 138 illegal_let: ["Illegal let declaration outside extended mode
"], | 139 illegal_let: ["Illegal let declaration outside extended mode
"], |
| (...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 %GetAndClearOverflowedStackTrace(this); | 1337 %GetAndClearOverflowedStackTrace(this); |
| 1337 }; | 1338 }; |
| 1338 | 1339 |
| 1339 %DefineOrRedefineAccessorProperty( | 1340 %DefineOrRedefineAccessorProperty( |
| 1340 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1341 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1341 | 1342 |
| 1342 return boilerplate; | 1343 return boilerplate; |
| 1343 } | 1344 } |
| 1344 | 1345 |
| 1345 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1346 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |