aboutsummaryrefslogtreecommitdiff
path: root/frontend/cheat.icl
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cheat.icl')
-rw-r--r--frontend/cheat.icl7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/cheat.icl b/frontend/cheat.icl
index 776f323..40c56ea 100644
--- a/frontend/cheat.icl
+++ b/frontend/cheat.icl
@@ -8,3 +8,10 @@ i x =
.end
}
+uniqueCopy :: !*a -> (!*a, !*a)
+uniqueCopy x =
+ code
+ { .inline uniqueCopy
+ push_a 0
+ .end
+ }