diff options
Diffstat (limited to 'deps/v8/src/diagnostics/eh-frame.h')
-rw-r--r-- | deps/v8/src/diagnostics/eh-frame.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/deps/v8/src/diagnostics/eh-frame.h b/deps/v8/src/diagnostics/eh-frame.h index a9d76a2743..17ef8c0ad5 100644 --- a/deps/v8/src/diagnostics/eh-frame.h +++ b/deps/v8/src/diagnostics/eh-frame.h @@ -24,6 +24,7 @@ class V8_EXPORT_PRIVATE EhFrameConstants final kAdvanceLoc1 = 0x02, kAdvanceLoc2 = 0x03, kAdvanceLoc4 = 0x04, + kRestoreExtended = 0x06, kSameValue = 0x08, kDefCfa = 0x0c, kDefCfaRegister = 0x0d, @@ -102,11 +103,17 @@ class V8_EXPORT_PRIVATE EhFrameWriter { RecordRegisterSavedToStack(RegisterToDwarfCode(name), offset); } + // Directly accepts a DWARF register code, needed for + // handling pseudo-registers on some platforms. + void RecordRegisterSavedToStack(int dwarf_register_code, int offset); + // The register has not been modified from the previous frame. void RecordRegisterNotModified(Register name); + void RecordRegisterNotModified(int dwarf_register_code); // The register follows the rule defined in the CIE. void RecordRegisterFollowsInitialRule(Register name); + void RecordRegisterFollowsInitialRule(int dwarf_register_code); void Finish(int code_size); @@ -169,10 +176,6 @@ class V8_EXPORT_PRIVATE EhFrameWriter { // Write nops until the size reaches a multiple of 8 bytes. void WritePaddingToAlignedSize(int unpadded_size); - // Internal version that directly accepts a DWARF register code, needed for - // handling pseudo-registers on some platforms. - void RecordRegisterSavedToStack(int register_code, int offset); - int GetProcedureAddressOffset() const { return fde_offset() + EhFrameConstants::kProcedureAddressOffsetInFde; } |