You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
However, neither of the documentations for those types show how you can get an instance of them! For Value you can look around on the rest of the page for InstBuilder and see that most instructions return a Value, but for FuncRef it's non-obvious that you need to either call import_function or declare_func_in_func. It would be great to link to these pages in the documentation for FuncRef.
Consider a frontend that wants to emit a
call
instruction. The documentation states that you need to passFuncRef
Value
sHowever, neither of the documentations for those types show how you can get an instance of them! For Value you can look around on the rest of the page for
InstBuilder
and see that most instructions return aValue
, but forFuncRef
it's non-obvious that you need to either callimport_function
ordeclare_func_in_func
. It would be great to link to these pages in the documentation forFuncRef
.Similar problems exist for
GlobalValue
Ebb
Inst
JumpTable
Heap
Table
SigRef
StackSlot
Constant
The text was updated successfully, but these errors were encountered: