Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index b5e81c55cb239042c63d7147b2b3c56ba4ba7f9e..85fdb14f36e6de4ca1939ff4eeecefa82c451786 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -608,13 +608,7 @@ bool Debug::CompileDebuggerScript(Isolate* isolate, int index) { |
source_code, script_name, 0, 0, ScriptOriginOptions(), Handle<Object>(), |
context, NULL, NULL, ScriptCompiler::kNoCompileOptions, NATIVES_CODE, |
false); |
- |
- // Silently ignore stack overflows during compilation. |
- if (function_info.is_null()) { |
- DCHECK(isolate->has_pending_exception()); |
- isolate->clear_pending_exception(); |
- return false; |
- } |
+ if (function_info.is_null()) return false; |
// Execute the shared function in the debugger context. |
Handle<JSFunction> function = |