Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 53a1310ed9ca4a210988166a1b94f962a7ba99e1..7f524839ad5c1d44af8dcbce3475fc894499a2ea 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -534,8 +534,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 = ObjectMarking::MarkBitFrom(function->code()); |
- if (Marking::IsBlackOrGrey(code_mark)) { |
+ if (ObjectMarking::IsBlackOrGrey(function->code())) { |
return false; |
} |
@@ -558,8 +557,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 = ObjectMarking::MarkBitFrom(shared_info->code()); |
- if (Marking::IsBlackOrGrey(code_mark)) { |
+ if (ObjectMarking::IsBlackOrGrey(shared_info->code())) { |
return false; |
} |