| Index: src/runtime.js
|
| diff --git a/src/runtime.js b/src/runtime.js
|
| index a49bc8448dfa52022880ef78e4e10eff632b7a12..63004ca3fbd65a0da3af5ca10c4ac4cfcf014571 100644
|
| --- a/src/runtime.js
|
| +++ b/src/runtime.js
|
| @@ -445,7 +445,7 @@ function APPLY_PREPARE(args) {
|
| // big enough, but sanity check the value to avoid overflow when
|
| // multiplying with pointer size.
|
| if (length > 0x800000) {
|
| - throw %MakeRangeError('stack_overflow', []);
|
| + throw %MakeStackOverflowError();
|
| }
|
|
|
| if (!IS_SPEC_FUNCTION(this)) {
|
| @@ -465,7 +465,7 @@ function APPLY_PREPARE(args) {
|
|
|
|
|
| function APPLY_OVERFLOW(length) {
|
| - throw %MakeRangeError('stack_overflow', []);
|
| + throw %MakeStackOverflowError();
|
| }
|
|
|
|
|
|
|