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