Sam Mussmann avatar Sam Mussmann committed 02bb292

Rename more sensibly.

Comments (0)

Files changed (1)

         else:
           return str(self.history[index][1])
 
-      reg_chain = itertools.chain((self.write_register,), self.read_registers)
-      instruction_text = '{0} {1}'.format(self.opcode, ', '.join(reg_chain))
+      reg_iter = itertools.chain((self.write_register,), self.read_registers)
+      instruction_text = '{0} {1}'.format(self.opcode, ', '.join(reg_iter))
       return {'index': self.index, 'instruction': instruction_text,
         'IS': get_cycle('IS'), 'EX': get_cycle('EX'),
         'WB': get_cycle('WB'), 'CM': get_cycle('CM'),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.