| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 2fb23342ee7f4448bd8facbfb015a000bc0cadbc..800f0bfcec29262647ccffd8b83ba6189e9a71e4 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -5145,6 +5145,19 @@ inline void Code::set_is_promise_rejection(bool value) {
|
| WRITE_UINT32_FIELD(this, kKindSpecificFlags1Offset, updated);
|
| }
|
|
|
| +inline bool Code::is_exception_caught() {
|
| + DCHECK(kind() == BUILTIN);
|
| + return IsExceptionCaughtField::decode(
|
| + READ_UINT32_FIELD(this, kKindSpecificFlags1Offset));
|
| +}
|
| +
|
| +inline void Code::set_is_exception_caught(bool value) {
|
| + DCHECK(kind() == BUILTIN);
|
| + int previous = READ_UINT32_FIELD(this, kKindSpecificFlags1Offset);
|
| + int updated = IsExceptionCaughtField::update(previous, value);
|
| + WRITE_UINT32_FIELD(this, kKindSpecificFlags1Offset, updated);
|
| +}
|
| +
|
| bool Code::has_deoptimization_support() {
|
| DCHECK_EQ(FUNCTION, kind());
|
| unsigned flags = READ_UINT32_FIELD(this, kFullCodeFlags);
|
|
|