| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 403976e8af75e6aeebb90559de913a41a9cc5a38..4f52aecd0d81a79dbef150df2e71382d41e8c6a6 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5112,6 +5112,10 @@ class Code: public HeapObject {
|
| // corresponding landing pad offsets.
|
| DECL_ACCESSORS(protected_instructions, FixedArray)
|
|
|
| + // [trap_handler_index]: An index into the trap handler's master list of code
|
| + // objects.
|
| + DECL_ACCESSORS(trap_handler_index, Smi)
|
| +
|
| // [raw_type_feedback_info]: This field stores various things, depending on
|
| // the kind of the code object.
|
| // FUNCTION => type feedback information.
|
| @@ -5504,7 +5508,8 @@ class Code: public HeapObject {
|
| static const int kConstantPoolOffset = kPrologueOffset + kIntSize;
|
| static const int kBuiltinIndexOffset =
|
| kConstantPoolOffset + kConstantPoolSize;
|
| - static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize;
|
| + static const int kTrapHandlerIndex = kBuiltinIndexOffset + kIntSize;
|
| + static const int kHeaderPaddingStart = kTrapHandlerIndex + kIntSize;
|
|
|
| enum TrapFields { kTrapCodeOffset, kTrapLandingOffset, kTrapDataSize };
|
|
|
|
|