Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index dd3be110068e5a7813aef8732681a8f1b8f6eb11..ac8c19cc11fa670df8b144232b8e3c3af4dd3a58 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -1074,7 +1074,7 @@ void CodeFlusher::EvictCandidate(SharedFunctionInfo* shared_info) { |
void CodeFlusher::EvictCandidate(JSFunction* function) { |
- DCHECK(!function->next_function_link()->IsUndefined()); |
+ DCHECK(!function->next_function_link()->IsUndefined(isolate_)); |
Object* undefined = isolate_->heap()->undefined_value(); |
// Make sure previous flushing decisions are revisited. |