test/transforms: adapt to 'now' save on core device

This commit is contained in:
Sebastien Bourdeauducq 2015-05-12 23:06:33 +08:00
parent 0f9bc7bc4b
commit a62ae1d8d7

View File

@ -34,7 +34,11 @@ def run():
optimize_out = """
def run():
do_something(344)
now = syscall('now_init')
try:
do_something(344)
finally:
syscall('now_save', now)
"""