From 6adbe9a9a0ad014b470507de400332075e733b10 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Fri, 16 Nov 2018 09:40:40 -0500 Subject: Revert "src: enable detailed source positions in V8" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e2a8e3221b2580c44579c738c12d00fb37298f4a. This reverts commit 715bbb9d04a320b4c1a234e1f9d878c116beb3f4. PR-URL: https://github.com/nodejs/node/pull/24394 Fixes: https://github.com/nodejs/node/issues/24393 Reviewed-By: Rich Trott Reviewed-By: Joyee Cheung Reviewed-By: Ujjwal Sharma Reviewed-By: Michaƫl Zasso --- deps/v8/src/isolate.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'deps/v8/src/isolate.cc') diff --git a/deps/v8/src/isolate.cc b/deps/v8/src/isolate.cc index eed52d9c19..89fecce804 100644 --- a/deps/v8/src/isolate.cc +++ b/deps/v8/src/isolate.cc @@ -3257,8 +3257,7 @@ bool Isolate::use_optimizer() { } bool Isolate::NeedsDetailedOptimizedCodeLineInfo() const { - return NeedsSourcePositionsForProfiling() || - detailed_source_positions_for_profiling(); + return NeedsSourcePositionsForProfiling() || FLAG_detailed_line_info; } bool Isolate::NeedsSourcePositionsForProfiling() const { -- cgit v1.2.3