| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 0e525d43346e7914478183c8b95c42ed1734ff17..94a3cb3c947a63512d0515cee178bc5e47bcbee5 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -755,6 +755,14 @@ bool Object::IsDeoptimizationOutputData() const {
|
| }
|
|
|
|
|
| +bool Object::IsHandlerTable() const {
|
| + if (!IsFixedArray()) return false;
|
| + // There's actually no way to see the difference between a fixed array and
|
| + // a handler table array.
|
| + return true;
|
| +}
|
| +
|
| +
|
| bool Object::IsDependentCode() const {
|
| if (!IsFixedArray()) return false;
|
| // There's actually no way to see the difference between a fixed array and
|
| @@ -3342,6 +3350,7 @@ CAST_ACCESSOR(FixedDoubleArray)
|
| CAST_ACCESSOR(FixedTypedArrayBase)
|
| CAST_ACCESSOR(Foreign)
|
| CAST_ACCESSOR(GlobalObject)
|
| +CAST_ACCESSOR(HandlerTable)
|
| CAST_ACCESSOR(HeapObject)
|
| CAST_ACCESSOR(JSArray)
|
| CAST_ACCESSOR(JSArrayBuffer)
|
| @@ -6229,7 +6238,6 @@ ACCESSORS(JSGeneratorObject, context, Context, kContextOffset)
|
| ACCESSORS(JSGeneratorObject, receiver, Object, kReceiverOffset)
|
| SMI_ACCESSORS(JSGeneratorObject, continuation, kContinuationOffset)
|
| ACCESSORS(JSGeneratorObject, operand_stack, FixedArray, kOperandStackOffset)
|
| -SMI_ACCESSORS(JSGeneratorObject, stack_handler_index, kStackHandlerIndexOffset)
|
|
|
| bool JSGeneratorObject::is_suspended() {
|
| DCHECK_LT(kGeneratorExecuting, kGeneratorClosed);
|
|
|