diff options
Diffstat (limited to 'Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h')
-rw-r--r-- | Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h b/Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h index b4f35c724..457cbb286 100644 --- a/Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h +++ b/Source/JavaScriptCore/jit/JumpReplacementWatchpoint.h @@ -50,6 +50,13 @@ public: { } + MacroAssembler::Label sourceLabel() const + { + MacroAssembler::Label label; + label.m_label.m_offset = m_source; + return label; + } + void setDestination(MacroAssembler::Label destination) { m_destination = destination.m_label.m_offset; |