Parsing stack_limit

This commit is contained in:
Sergey Pepyakin
2018-05-31 00:12:13 +02:00
committed by Dan Gohman
parent effe770c5f
commit 73b6468d25
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
test cat
; Verify parsing of stack_limit.
function %minimal(i64 vmctx) {
gv0 = vmctx
; Stack limit
stack_limit = gv0
ebb0:
trap user0
}
; sameln: function %minimal(i64 vmctx) fast {
; nextln: gv0 = vmctx
; nextln: stack_limit = gv0
; nextln:
; nextln: ebb0:
; nextln: trap user0
; nextln: }