Intel encodings for trap.
Use a ud2 instruction which generates an undefined instruction exception.
This commit is contained in:
@@ -43,3 +43,8 @@ ebb0(v0: i32):
|
||||
ebb1(v2: i32):
|
||||
return v2
|
||||
}
|
||||
|
||||
function %undefined() {
|
||||
ebb0:
|
||||
trap
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user