Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 57574d1685234353cccfdc7ddfb03f084c206990..55529e57828c4499ff17e4225bffb5200d4e635b 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1132,8 +1132,7 @@ Handle<String> Factory::EmergencyNewError(const char* message, |
space--; |
if (space > 0) { |
Handle<String> arg_str = Handle<String>::cast( |
- Object::GetElement(isolate(), args, i)); |
- CHECK_NOT_EMPTY_HANDLE(isolate(), arg_str); |
+ Object::GetElementNoExceptionThrown(isolate(), args, i)); |
SmartArrayPointer<char> arg = arg_str->ToCString(); |
Vector<char> v2(p, static_cast<int>(space)); |
OS::StrNCpy(v2, arg.get(), space); |