interp: add support for constant type asserts

Non-constant type asserts are not yet implemented, but should be
relatively easy to add at a later time. They should result in a clear
error message for now.
This commit is contained in:
Ayke van Laethem
2020-03-19 13:59:37 +01:00
committed by Ron Evans
parent 213a6240a1
commit 9222bda9c6
5 changed files with 59 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64--linux"
@main.v1 = local_unnamed_addr global i1 true
define void @runtime.initAll() unnamed_addr {
entry:
ret void
}