pmatos wrote:

@hoodmane Sorry on the delay on this. I am curious about the use case. 
Initially the idea was to try to do everything through builtins since things 
can get complicated quickly once you start using C/C++ semantics and applying 
them to tables.

Could you explain a bit more about how you would like to use tables? Currently 
you can do:

```
externref_t val = __builtin_wasm_table_get(table, index);
__builtin_wasm_table_set(table, index, val);
```

My understanding is that you would like to use:
```
externref_t val = *p;  // becomes table.get
*p = val;              // becomes table.set
```

Is this correct? How would this help your use case?

https://github.com/llvm/llvm-project/pull/163610
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to