| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index dc5048d0bd720e09329a77691fefeed3c4ac070a..bbd8b96f656496faceb3e823164163c09c10ee98 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4227,7 +4227,6 @@ int BytecodeArray::parameter_count() const {
|
| return READ_INT_FIELD(this, kParameterSizeOffset) >> kPointerSizeLog2;
|
| }
|
|
|
| -
|
| ACCESSORS(BytecodeArray, constant_pool, FixedArray, kConstantPoolOffset)
|
| ACCESSORS(BytecodeArray, handler_table, FixedArray, kHandlerTableOffset)
|
| ACCESSORS(BytecodeArray, source_position_table, ByteArray,
|
| @@ -5125,6 +5124,19 @@ inline void Code::set_is_construct_stub(bool value) {
|
| WRITE_UINT32_FIELD(this, kKindSpecificFlags1Offset, updated);
|
| }
|
|
|
| +inline bool Code::is_promise_rejection() {
|
| + DCHECK(kind() == BUILTIN);
|
| + return IsPromiseRejectionField::decode(
|
| + READ_UINT32_FIELD(this, kKindSpecificFlags1Offset));
|
| +}
|
| +
|
| +inline void Code::set_is_promise_rejection(bool value) {
|
| + DCHECK(kind() == BUILTIN);
|
| + int previous = READ_UINT32_FIELD(this, kKindSpecificFlags1Offset);
|
| + int updated = IsPromiseRejectionField::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);
|
|
|