From 0a66b223e149a841669bfad5598e4254589730cb Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 1 Aug 2017 11:36:44 -0500 Subject: deps: update V8 to 6.0.286.52 PR-URL: https://github.com/nodejs/node/pull/14004 Reviewed-By: Anna Henningsen Reviewed-By: Anna Henningsen Reviewed-By: Franziska Hinkelmann Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Colin Ihrig --- deps/v8/src/runtime-profiler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deps/v8/src/runtime-profiler.cc') diff --git a/deps/v8/src/runtime-profiler.cc b/deps/v8/src/runtime-profiler.cc index d09e69ae61..56ab1b89e4 100644 --- a/deps/v8/src/runtime-profiler.cc +++ b/deps/v8/src/runtime-profiler.cc @@ -57,7 +57,7 @@ static const int kMaxSizeEarlyOptIgnition = // We aren't using the code size multiplier here because there is no // "kMaxSizeOpt" with which we would need to normalize. This constant is // only for optimization decisions coming into TurboFan from Ignition. -static const int kMaxSizeOptIgnition = 250 * 1024; +static const int kMaxSizeOptIgnition = 80 * KB; #define OPTIMIZATION_REASON_LIST(V) \ V(DoNotOptimize, "do not optimize") \ @@ -432,7 +432,7 @@ OptimizationReason RuntimeProfiler::ShouldOptimizeIgnition( void RuntimeProfiler::MarkCandidatesForOptimization() { HandleScope scope(isolate_); - if (!isolate_->use_crankshaft()) return; + if (!isolate_->use_optimizer()) return; DisallowHeapAllocation no_gc; -- cgit v1.2.1