Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index d86406bf5f77c204957dce60d4125974eff17f0e..6ed9c2cdd5cf5579fbb6be2a4486336b83423ae8 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -526,8 +526,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; |
} |
@@ -550,8 +549,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; |
} |