Skip to content
Snippets Groups Projects
Commit 28ab0e8f authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Fixed some whitespace issues (or, Vim did).

parent 1ea1d70f
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,10 @@ if __name__ == '__main__':
# Parse File
statements = parse_file(argv[1])
st_original = len(statements)
# Optimize on a global level
statements = optimize_global(statements)
st_aft_global = len(statements)
# Create basic blocks
......@@ -28,11 +28,11 @@ if __name__ == '__main__':
# Rewrite to assembly
out = write_statements(statements)
print "Optimization:"
print "Original statements:" + str(st_original)
print "After global optimization:" + str(st_aft_global)
print "After basic blocks optimization:" + str(len(statements))
print "Original statements:", st_original
print "After global optimization:", st_aft_global
print "After basic blocks optimization:", len(statements)
if len(argv) > 2:
# Save output assembly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment