Index: src/compiler/pipeline-statistics.cc |
diff --git a/src/compiler/pipeline-statistics.cc b/src/compiler/pipeline-statistics.cc |
index 0203a3587259fce6404def1455113fc3cb3e4cd9..5e8d1272cf62867d67d89d1691be82e1616314ac 100644 |
--- a/src/compiler/pipeline-statistics.cc |
+++ b/src/compiler/pipeline-statistics.cc |
@@ -50,7 +50,7 @@ PipelineStatistics::PipelineStatistics(CompilationInfo* info, |
source_size_(0), |
phase_kind_name_(NULL), |
phase_name_(NULL) { |
- if (!info->shared_info().is_null()) { |
+ if (info->has_shared_info()) { |
source_size_ = static_cast<size_t>(info->shared_info()->SourceSize()); |
SmartArrayPointer<char> name = |
info->shared_info()->DebugName()->ToCString(); |