diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-04-06 23:00:31 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-04-06 23:00:31 +0000 |
| commit | 1106434be3170397263bcf516d5d83e4a8ae4b95 (patch) | |
| tree | e7bc7b73f045b82e43f5b3155b1db8220f7c6d96 | |
| parent | 668b9e9c6542ca46a9121d9ce35609deb6b84b45 (diff) | |
| download | bcm5719-llvm-1106434be3170397263bcf516d5d83e4a8ae4b95.tar.gz bcm5719-llvm-1106434be3170397263bcf516d5d83e4a8ae4b95.zip | |
The remaining time calculation didn't reflect the
--start argument. Fixed that.
llvm-svn: 154221
| -rwxr-xr-x | lldb/examples/python/disasm-stress-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/disasm-stress-test.py b/lldb/examples/python/disasm-stress-test.py index ac6b6ff5b48..ff199973d41 100755 --- a/lldb/examples/python/disasm-stress-test.py +++ b/lldb/examples/python/disasm-stress-test.py @@ -80,7 +80,7 @@ class SequentialInstructionProvider: self.m_value += self.m_skip return ret def GetNumInstructions(self): - return self.m_last / self.m_skip + return (self.m_last - self.m_start) / self.m_skip def __iter__(self): return self def next(self): |

