Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 46ca0b10ca6219d9b49e8fe08d20241cad400087..e0f6b2d2f5fcede79cd72c3717c79d0093c8a44a 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -645,7 +645,7 @@ bool StaticMarkingVisitor<StaticVisitor>::IsFlushable( |
} |
// The function must have a valid context and not be a builtin. |
- if (!IsValidNonBuiltinContext(function->unchecked_context())) { |
+ if (!IsValidNonBuiltinContext(function->context())) { |
return false; |
} |