Skip to content

Commit f0aa4db

Browse files
authored
Merge pull request #37199 from atrick/viewcfg-py3
Fix viewcfg for python3
2 parents 861bbcc + dc275dc commit f0aa4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/viewcfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def main():
140140
if adj_name not in block_map:
141141
new_blocks[adj_name] = Block(adj_name, None)
142142

143-
block_map = dict(block_map.items() + new_blocks.items())
143+
block_map.update(new_blocks.items())
144144

145145
# Add missing edges if we didn't see a successor in the terminator
146146
# but the block is mentioned in the pred list of the successor.

0 commit comments

Comments
 (0)