summaryrefslogtreecommitdiffstats
path: root/src/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cc')
-rw-r--r--src/debug.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug.cc b/src/debug.cc
index 8ec77e77..d8201a18 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -835,7 +835,9 @@ bool Debug::Load() {
// Expose the builtins object in the debugger context.
Handle<String> key = Factory::LookupAsciiSymbol("builtins");
Handle<GlobalObject> global = Handle<GlobalObject>(context->global());
- SetProperty(global, key, Handle<Object>(global->builtins()), NONE);
+ RETURN_IF_EMPTY_HANDLE_VALUE(
+ SetProperty(global, key, Handle<Object>(global->builtins()), NONE),
+ false);
// Compile the JavaScript for the debugger in the debugger context.
Debugger::set_compiling_natives(true);