diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-07-16 22:34:57 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-07-16 22:34:57 -0700 |
commit | 28b25a489338f31f291832e8dc94174619387e95 (patch) | |
tree | 2bb64dedeb89f7618913f38184ae6e796417a18a /mu_instructions | |
parent | 571dd3e23c2cfd4c3665c073a248cee4e1acd594 (diff) | |
download | mu-28b25a489338f31f291832e8dc94174619387e95.tar.gz |
6657
Diffstat (limited to 'mu_instructions')
-rw-r--r-- | mu_instructions | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mu_instructions b/mu_instructions index 69999444..e28edfff 100644 --- a/mu_instructions +++ b/mu_instructions @@ -238,22 +238,6 @@ var/reg: (addr T_f) <- get var2: T, f # Handles for safe access to the heap -copy-handle-to dest: (handle T), src: (handle T) - => "50/push-eax" - "8b/-> *(ebp+" src.stack-offset ") 0/r32/eax" - "89/<- *(ebp+" dest.stack-offset ") 0/r32/eax" - "8b/-> *(ebp+" src.stack-offset+4 ") 0/r32/eax" - "89/<- *(ebp+" dest.stack-offset+4 ") 0/r32/eax" - "58/pop-to-eax" - -copy-handle-to *dest/reg: (addr handle T), src: (handle T) - => "50/push-eax" - "8b/-> *(ebp+" src.stack-offset ") 0/r32/eax" - "89/<- *" reg " 0/r32/eax" - "8b/-> *(ebp+" src.stack-offset+4 ") 0/r32/eax" - "89/<- *(" reg "+4) 0/r32/eax" - "58/pop-to-eax" - out/reg: (addr T) <- lookup in: (handle T) => # payload_allocid = in->address->allocid "8b/-> *(epb+" (in.stack-offset+4) ") " reg "/r32" |