Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 7b90469e12ad3c1ffb9fc22db2007eb23fc56213..365aa9be58f186b965eca61bef24fa93b37a84f8 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -603,6 +603,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateCatchExtensionObject) { |
ASSERT(args.length() == 2); |
CONVERT_CHECKED(String, key, args[0]); |
Object* value = args[1]; |
+ ASSERT(!value->IsFailure()); |
// Create a catch context extension object. |
JSFunction* constructor = |
isolate->context()->global_context()-> |