diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/rpn.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/rpn.mu b/apps/rpn.mu index 5e2fdbb6..bd0d721f 100644 --- a/apps/rpn.mu +++ b/apps/rpn.mu @@ -61,7 +61,7 @@ fn simplify in: (addr stream byte) -> result/eax: int { var word/ecx: (addr slice) <- address word-storage var stack-storage: int-stack var stack/esi: (addr int-stack) <- address stack-storage - initialize-stack stack, 0x10 + initialize-int-stack stack, 0x10 $simplify:word-loop: { next-word in, word var done?/eax: boolean <- slice-empty? word @@ -109,7 +109,7 @@ fn simplify in: (addr stream byte) -> result/eax: int { result <- pop-int-stack stack } -fn initialize-stack _self: (addr int-stack), n: int { +fn initialize-int-stack _self: (addr int-stack), n: int { var self/esi: (addr int-stack) <- copy _self var d/edi: (addr handle array int) <- get self, data populate d, n |