Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index 5713537b5ab301076c51706d77f3eef5e5713970..e16da7c4f1335b9bf3ccb33860a5774db53d0ca0 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -4531,7 +4531,7 @@ STRUCT_LIST(MAKE_CASE) |
| #undef MAKE_CASE |
| default: |
| UNREACHABLE(); |
| - return Failure::InternalError(); |
| + return exception(); |
| } |
| int size = map->instance_size(); |
| AllocationSpace space = SelectSpace(size, OLD_POINTER_SPACE, TENURED); |