+
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion spectec/spec/9-module.watsup
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

;; Definitions

def $alloctypes(rectype*) : deftype*

def $allocfunc(store, moduleinst, func) : (store, funcaddr)
def $allocfunc(s, mm, func) = (s[.FUNC =.. fi], |s.FUNC|)
-- if func = FUNC x local* expr
Expand Down Expand Up @@ -101,7 +103,7 @@ def $allocmodule(s, module, externval*, val_g*, ref_t*, (ref_e*)*) = (s_6, mm)
-- if da* = $(|s.DATA|+i_d)^(i_d<n_d)
-- if xi* = $instexport(fa_ex* fa*, ga_ex* ga*, ta_ex* ta*, ma_ex* ma*, export)*
-- if mm = {
TYPE dt*,
TYPE $alloctypes(rectype*),
FUNC fa_ex* fa*,
GLOBAL ga_ex* ga*,
TABLE ta_ex* ta*,
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载