| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index af4cbe894d1fd225c6024c6d9c8048b52fc217f4..66e9987d4aa2674e062e6c7f3295fb3a9170460b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5109,6 +5109,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.
|
| @@ -5501,7 +5505,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 };
|
|
|
|
|