Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
HodanPlodky committed Dec 12, 2024
1 parent 0bf5327 commit 7ab9781
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/unit/compiler/venom/test_literals_codesize.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ def test_literal_codesize_both(orig_value):
bb.append_instruction("store", IRLiteral(orig_value))
bb.append_instruction("stop")

print(fn)
ac = IRAnalysesCache(fn)
ReduceLiteralsCodesize(ac, fn).run_pass()
print(fn)

assert bb.instructions[0].opcode == "shl"
op0, op1 = bb.instructions[0].operands
Expand All @@ -132,10 +130,8 @@ def test_literal_codesize_nothing(orig_value):
bb.append_instruction("store", IRLiteral(orig_value))
bb.append_instruction("stop")

print(fn)
ac = IRAnalysesCache(fn)
ReduceLiteralsCodesize(ac, fn).run_pass()
print(fn)

assert bb.instructions[0].opcode == "store"
assert bb.instructions[0].operands[0].value == orig_value
Expand Down

0 comments on commit 7ab9781

Please sign in to comment.