summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/basicblock.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 27eadd51..849d529f 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -96,8 +96,7 @@ class BasicBlock(object):
def __iter__(self):
if self._instStarts is None:
- # no cache is instruction start cache is built so we don't build one
- # because the user is likely iterating only
+ # don't and instruction start cache the object is likely ephemeral
idx = self.start
while idx < self.end:
data = self.view.read(idx, min(self.arch.max_instr_length, self.end - idx))