Chromium Code Reviews| Index: src/runtime.js |
| diff --git a/src/runtime.js b/src/runtime.js |
| index 19b858b27ed90cce80cb5aac06b2a1ed8482bf87..0265b1a631edf1b138f12978a99bc9b822432383 100644 |
| --- a/src/runtime.js |
| +++ b/src/runtime.js |
| @@ -643,7 +643,11 @@ function DefaultNumber(x) { |
| if (%IsPrimitive(s)) return s; |
| } |
| + var xx = %MakeTypeError('cannot_convert_to_primitive', []); |
| + %DebugPrint(xx); |
| + |
| throw %MakeTypeError('cannot_convert_to_primitive', []); |
| + test; test; |
| } |
| // ECMA-262, section 8.6.2.6, page 28. |