Chromium Code Reviews| Index: runtime/lib/mirrors.cc |
| diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
| index 0cbe9890be9ad9a5e7c083d45eff18e415459160..8bed35617b56c976c75d5ebec3689bcb44ea404f 100644 |
| --- a/runtime/lib/mirrors.cc |
| +++ b/runtime/lib/mirrors.cc |
| @@ -1166,7 +1166,8 @@ DEFINE_NATIVE_ENTRY(ClassMirror_invokeConstructor, 5) { |
| args, |
| args_descriptor_array)); |
| if (result.IsError()) { |
| - return result.raw(); |
| + ThrowInvokeError(Error::Cast(result)); |
| + UNREACHABLE(); |
| } |
| // Factories may return null. |