[turbofan] Fix source positions for inlined functions
Puts back source position collection for inlined functions when concurrent inlining is not enabled. Bug: v8:8510 Change-Id: I8e8a7ef15c0854b1e37299a007303b3213988cf6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1601266 Auto-Submit: Dan Elphick <delphick@chromium.org> Commit-Queue: Maya Lekova <mslekova@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#61362}
This commit is contained in:
parent
ef30d69299
commit
aa30ca13fd
@ -447,6 +447,10 @@ Reduction JSInliner::ReduceJSCall(Node* node) {
|
||||
// it never gets flushed, so the following check should always hold true.
|
||||
CHECK(is_compiled_scope.is_compiled());
|
||||
|
||||
if (!FLAG_concurrent_inlining && info_->is_source_positions_enabled()) {
|
||||
SharedFunctionInfo::EnsureSourcePositionsAvailable(isolate(), shared_info);
|
||||
}
|
||||
|
||||
TRACE("Inlining %s into %s%s\n", shared_info->DebugName()->ToCString().get(),
|
||||
info_->shared_info()->DebugName()->ToCString().get(),
|
||||
(exception_target != nullptr) ? " (inside try-block)" : "");
|
||||
|
Loading…
Reference in New Issue
Block a user