Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index fc0e50e5530f2205f8145363d4db7ec31758f037..cdfa787447203b677f68fd499404e04f8b1a0db4 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -551,6 +551,7 @@ MaybeHandle<Object> Execution::ToDetailString( |
MaybeHandle<Object> Execution::ToObject( |
Isolate* isolate, Handle<Object> obj) { |
if (obj->IsSpecObject()) return obj; |
+ // TODO(verwaest): Use Object::ToObject but throw an exception on failure. |
RETURN_NATIVE_CALL(to_object, { obj }); |
} |