Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 273c389bdeda56f6bd036a76cafc8552e73e0bad..750d822a5177df7083fde2648d8e34f32c4baae6 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -790,7 +790,6 @@ MaybeHandle<Code> GetOptimizedCode(Handle<JSFunction> function, |
JavaScriptFrame* osr_frame = nullptr) { |
Isolate* isolate = function->GetIsolate(); |
Handle<SharedFunctionInfo> shared(function->shared(), isolate); |
- if (shared->HasDebugInfo()) return MaybeHandle<Code>(); |
Handle<Code> cached_code; |
if (GetCodeFromOptimizedCodeMap(function, osr_ast_id) |