From a43c00cbae37e9b3d846eea7ccd0025ce5ee72ff Mon Sep 17 00:00:00 2001 From: "fschneider@chromium.org" Date: Fri, 23 Mar 2012 15:26:04 +0000 Subject: [PATCH] Fix use of uninitialized values in the runtime profiler. Review URL: https://chromiumcodereview.appspot.com/9835054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11127 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime-profiler.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc index cde6057ac4..13cdfa09e6 100644 --- a/src/runtime-profiler.cc +++ b/src/runtime-profiler.cc @@ -88,7 +88,9 @@ RuntimeProfiler::RuntimeProfiler(Isolate* isolate) sampler_threshold_size_factor_(kSamplerThresholdSizeFactorInit), sampler_ticks_until_threshold_adjustment_( kSamplerTicksBetweenThresholdAdjustment), - sampler_window_position_(0) { + sampler_window_position_(0), + any_ic_changed_(false), + code_generated_(false) { ClearSampleBuffer(); }