diff options
author | Clyybber <darkmine956@gmail.com> | 2021-02-09 14:20:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 14:20:58 +0100 |
commit | ab740cb5b9bfbacece26956fa2444763a790ccd1 (patch) | |
tree | 5966ee8556cfe937d97254eda533fab024cd70d2 /tests/arc/topt_no_cursor.nim | |
parent | 74d6a4d7f4fb9fb00632150f666e4de1cc5f7c63 (diff) | |
download | Nim-ab740cb5b9bfbacece26956fa2444763a790ccd1.tar.gz |
ARC Analysis in one pass (#16849)
* Analyse last reads all at once * Integrate firstWrite analysis * Small cleanup * Use sets instead of seqs * Remove instrTargets * Reap the benefits * Implement error diagnostics * Operate on DFA index for lastRead analysis * Use mgetOrPut
Diffstat (limited to 'tests/arc/topt_no_cursor.nim')
-rw-r--r-- | tests/arc/topt_no_cursor.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/topt_no_cursor.nim b/tests/arc/topt_no_cursor.nim index 3d37e6269..6fa19b24a 100644 --- a/tests/arc/topt_no_cursor.nim +++ b/tests/arc/topt_no_cursor.nim @@ -52,7 +52,7 @@ _ = ( blitTmp, ";") lvalue = _[0] lnext = _[1] -`=sink`(result.value, move lvalue) +result.value = move lvalue `=destroy`(lnext) `=destroy_1`(lvalue) -- end of expandArc ------------------------ |