| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6fbba3cd5739877d76f595f15f9ae27cae63ff1e..3914c6de7ee2b189e9b9eb113be2eb4831571103 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5225,6 +5225,10 @@ class Code: public HeapObject {
|
| inline bool marked_for_deoptimization();
|
| inline void set_marked_for_deoptimization(bool flag);
|
|
|
| + // [constant_pool]: The constant pool for this function.
|
| + inline ConstantPoolArray* constant_pool();
|
| + inline void set_constant_pool(Object* constant_pool);
|
| +
|
| // Get the safepoint entry for the given pc.
|
| SafepointEntry GetSafepointEntry(Address pc);
|
|
|
| @@ -5438,8 +5442,9 @@ class Code: public HeapObject {
|
| kKindSpecificFlags1Offset + kIntSize;
|
| // Note: We might be able to squeeze this into the flags above.
|
| static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize;
|
| + static const int kConstantPoolOffset = kPrologueOffset + kPointerSize;
|
|
|
| - static const int kHeaderPaddingStart = kPrologueOffset + kIntSize;
|
| + static const int kHeaderPaddingStart = kConstantPoolOffset + kIntSize;
|
|
|
| // Add padding to align the instruction start following right after
|
| // the Code object header.
|
|
|