diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-02-13 15:01:33 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-02-13 15:01:33 +0000 |
commit | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (patch) | |
tree | 525149683974afa86747b749d45f0425749e972e /source/API | |
parent | e195173fdf080138dbb42936dea88c605e4b9a56 (diff) |
Notes
Diffstat (limited to 'source/API')
-rw-r--r-- | source/API/SBInstruction.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/API/SBInstruction.cpp b/source/API/SBInstruction.cpp index 36be948018631..a17f3f8dbd5df 100644 --- a/source/API/SBInstruction.cpp +++ b/source/API/SBInstruction.cpp @@ -160,6 +160,14 @@ SBInstruction::DoesBranch () return false; } +bool +SBInstruction::HasDelaySlot () +{ + if (m_opaque_sp) + return m_opaque_sp->HasDelaySlot (); + return false; +} + void SBInstruction::SetOpaque (const lldb::InstructionSP &inst_sp) { |