Chromium Code Reviews| Index: src/heap.cc |
| =================================================================== |
| --- src/heap.cc (revision 2717) |
| +++ src/heap.cc (working copy) |
| @@ -1412,6 +1412,9 @@ |
| if (obj->IsFailure()) return false; |
| set_no_interceptor_result_sentinel(obj); |
| + obj = CreateOddball(oddball_map(), "termination_exception", Smi::FromInt(-3)); |
| + if (obj->IsFailure()) return false; |
| + set_termination_exception(obj); |
| // Allocate the empty string. |
| obj = AllocateRawAsciiString(0, TENURED); |