Index: src/profiler/profile-generator.cc |
diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc |
index 5252bd1675c56f502b6efd310bea4120fa084a77..71d74f291f17cffa4ae42f9b1a1e03693ce35f6e 100644 |
--- a/src/profiler/profile-generator.cc |
+++ b/src/profiler/profile-generator.cc |
@@ -179,7 +179,7 @@ CpuProfileDeoptInfo CodeEntry::GetDeoptInfo() { |
CpuProfileDeoptInfo info; |
info.deopt_reason = deopt_reason_; |
- DCHECK_NE(Deoptimizer::DeoptInfo::kNoDeoptId, deopt_id_); |
+ DCHECK_NE(kNoDeoptimizationId, deopt_id_); |
if (deopt_inlined_frames_.find(deopt_id_) == deopt_inlined_frames_.end()) { |
info.stack.push_back(CpuProfileDeoptFrame( |
{script_id_, position_ + deopt_position_.position()})); |