Stream: git-wasmtime

Topic: wasmtime / PR #3164 cranelift: Add stack support to the i...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2021 at 16:13):

afonso360 opened PR #3164 from interpreter-stack to main:

With this PR we also change the approach for heap loads and stores.

Previously we would use the offset as the address to the heap. However, this approach does not allow using the load/store instructions to read/write from both the heap and the stack.

We now return the real addresses from the addressing instructions (stack_addr/heap_addr), and instead check if the address passed into the load/store instructions points to an area in the heap or the stack.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2021 at 16:24):

afonso360 updated PR #3164 from interpreter-stack to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2021 at 16:32):

afonso360 updated PR #3164 from interpreter-stack to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 16 2021 at 19:41):

afonso360 closed without merge PR #3164.


Last updated: Nov 22 2024 at 17:03 UTC