summaryrefslogtreecommitdiff
path: root/language/bytecode.ott
diff options
context:
space:
mode:
authorRobert Norton2018-02-22 17:23:48 +0000
committerRobert Norton2018-02-22 17:23:48 +0000
commitbac62a260ce9aa8f83bb71515daf1829133b0127 (patch)
tree03b24eea504d09dc6fa3267fc9740aef6b66e446 /language/bytecode.ott
parent5308167903db5e81c07a5aff9f20c83f33afcb9c (diff)
parentc63741a21b5a1f77f85987f15f6aac3321a91f0a (diff)
Merge branch 'sail2' of github.com:rems-project/sail into sail2
Diffstat (limited to 'language/bytecode.ott')
-rw-r--r--language/bytecode.ott2
1 files changed, 2 insertions, 0 deletions
diff --git a/language/bytecode.ott b/language/bytecode.ott
index e909fc09..e0d7db24 100644
--- a/language/bytecode.ott
+++ b/language/bytecode.ott
@@ -140,6 +140,8 @@ cdef :: 'CDEF_' ::=
} :: :: let
% The first list of instructions creates up the global letbinding, the
% second kills it.
+ | val id ( ctyp0 , ... , ctypn ) -> ctyp
+ :: :: spec
| function id mid ( id0 , ... , idn ) {
instr0 ; ... ; instrm
} :: :: fundef