Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 6d26ad00b0b9805c4e7881d3800df2e2193c5423..148975f630058363f781319f4775eb01368bef14 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -570,7 +570,7 @@ bool StaticMarkingVisitor<StaticVisitor>::IsFlushable(Heap* heap, |
// Code is either on stack, in compilation cache or referenced |
// by optimized version of function. |
- MarkBit code_mark = Marking::MarkBitFrom(function->code()); |
+ MarkBit code_mark = ObjectMarking::MarkBitFrom(function->code()); |
if (Marking::IsBlackOrGrey(code_mark)) { |
return false; |
} |
@@ -594,7 +594,7 @@ bool StaticMarkingVisitor<StaticVisitor>::IsFlushable( |
Heap* heap, SharedFunctionInfo* shared_info) { |
// Code is either on stack, in compilation cache or referenced |
// by optimized version of function. |
- MarkBit code_mark = Marking::MarkBitFrom(shared_info->code()); |
+ MarkBit code_mark = ObjectMarking::MarkBitFrom(shared_info->code()); |
if (Marking::IsBlackOrGrey(code_mark)) { |
return false; |
} |