Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index fc26168114d540eda866c6872485f28bdc245cc0..a8fe6bb7b61b2524c6f84313370ab665b234424e 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1164,7 +1164,8 @@ void OptimizedFrame::GetFunctions(List<JSFunction*>* functions) const { |
DisallowHeapAllocation no_gc; |
int deopt_index = Safepoint::kNoDeoptimizationIndex; |
DeoptimizationInputData* const data = GetDeoptimizationData(&deopt_index); |
- DCHECK(data != nullptr && deopt_index != Safepoint::kNoDeoptimizationIndex); |
+ DCHECK_NOT_NULL(data); |
+ DCHECK_NE(Safepoint::kNoDeoptimizationIndex, deopt_index); |
FixedArray* const literal_array = data->LiteralArray(); |
TranslationIterator it(data->TranslationByteArray(), |