Commit 5cd38634 authored by Nico Hartmann's avatar Nico Hartmann Committed by Commit Bot

Remove redundant DCHECK

Bug: v8:11074
Change-Id: I88674004cfd589cf8bc4eb2cb264b2f4a01066ee
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2519561
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71036}
parent f0441fb9
......@@ -3057,7 +3057,6 @@ Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) {
debug_info->set_shared(*shared);
debug_info->set_debugger_hints(0);
DCHECK_EQ(DebugInfo::kNoDebuggingId, debug_info->debugging_id());
DCHECK(!shared->HasDebugInfo());
debug_info->set_script(shared->script_or_debug_info(kAcquireLoad));
debug_info->set_original_bytecode_array(
ReadOnlyRoots(heap).undefined_value());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment