| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index e1f4cc99d43e92c919c4dc3ff2d94fecb4f34d4f..e73c3f4f1be67ddd173cb5a6e5b38041f0bbd8ee 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4597,6 +4597,9 @@ class HandlerTable : public FixedArray {
|
| // catching are part of a desugaring and should therefore not
|
| // be visible to the user (we won't notify the debugger of such
|
| // exceptions).
|
| + ASYNC_AWAIT, // The exception will be caught and cause a promise rejection
|
| + // in the desugaring of an async function, so special
|
| + // async/await handling in the debugger can take place.
|
| };
|
|
|
| // Getters for handler table based on ranges.
|
| @@ -4649,8 +4652,8 @@ class HandlerTable : public FixedArray {
|
| static const int kReturnEntrySize = 2;
|
|
|
| // Encoding of the {handler} field.
|
| - class HandlerPredictionField : public BitField<CatchPrediction, 0, 2> {};
|
| - class HandlerOffsetField : public BitField<int, 2, 30> {};
|
| + class HandlerPredictionField : public BitField<CatchPrediction, 0, 3> {};
|
| + class HandlerOffsetField : public BitField<int, 3, 29> {};
|
| };
|
|
|
| // ByteArray represents fixed sized byte arrays. Used for the relocation info
|
|
|