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
This commit is contained in:
fschneider@chromium.org 2012-03-23 15:26:04 +00:00
parent 706c07d176
commit a43c00cbae

View File

@ -88,7 +88,9 @@ RuntimeProfiler::RuntimeProfiler(Isolate* isolate)
sampler_threshold_size_factor_(kSamplerThresholdSizeFactorInit), sampler_threshold_size_factor_(kSamplerThresholdSizeFactorInit),
sampler_ticks_until_threshold_adjustment_( sampler_ticks_until_threshold_adjustment_(
kSamplerTicksBetweenThresholdAdjustment), kSamplerTicksBetweenThresholdAdjustment),
sampler_window_position_(0) { sampler_window_position_(0),
any_ic_changed_(false),
code_generated_(false) {
ClearSampleBuffer(); ClearSampleBuffer();
} }