Chromium Code Reviews| Index: src/runtime.js |
| diff --git a/src/runtime.js b/src/runtime.js |
| index c3554c63723919a27c9d03dff017b1ab0f4fa71a..b6fe69d8c718af9a74f49ddc39ac4732b44eeeef 100644 |
| --- a/src/runtime.js |
| +++ b/src/runtime.js |
| @@ -469,7 +469,7 @@ function APPLY_PREPARE(args) { |
| } |
| // Make sure the arguments list has the right type. |
| - if (args != null && !IS_ARRAY(args) && !IS_ARGUMENTS(args)) { |
| + if (args != null && !IS_SPEC_OBJECT(args)) { |
| throw %MakeTypeError('apply_wrong_args', []); |
| } |