mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
test/transforms: adapt to 'now' save on core device
This commit is contained in:
parent
0f9bc7bc4b
commit
a62ae1d8d7
@ -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)
|
||||
"""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user