Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2dc7eb0ebd5975527e5b39e22bf4436cb5205085..6c504fb7f8eef6835329a2a6d69e5a2ffadd5da1 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4869,14 +4869,12 @@ inline void Code::set_is_crankshafted(bool value) { |
inline bool Code::is_turbofanned() { |
- DCHECK(kind() == OPTIMIZED_FUNCTION || kind() == STUB); |
return IsTurbofannedField::decode( |
READ_UINT32_FIELD(this, kKindSpecificFlags1Offset)); |
} |
inline void Code::set_is_turbofanned(bool value) { |
- DCHECK(kind() == OPTIMIZED_FUNCTION || kind() == STUB); |
int previous = READ_UINT32_FIELD(this, kKindSpecificFlags1Offset); |
int updated = IsTurbofannedField::update(previous, value); |
WRITE_UINT32_FIELD(this, kKindSpecificFlags1Offset, updated); |