base: add bitvec256 type

This commit is contained in:
Nigel Tao committed 2023-10-12 21:26:53 +11:00
1 parent 310f5011b5
commit e0636e3255
7 files changed
+62

No files matched your search

+4
View File
@@ -42,6 +42,8 @@ var (
typeExprU32 = a.NewTypeExpr(0, t.IDBase, t.IDU32, nil, nil, nil)
typeExprU64 = a.NewTypeExpr(0, t.IDBase, t.IDU64, nil, nil, nil)
typeExprBitvec256 = a.NewTypeExpr(0, t.IDBase, t.IDBitvec256, nil, nil, nil)
typeExprEmptyStruct = a.NewTypeExpr(0, t.IDBase, t.IDEmptyStruct, nil, nil, nil)
typeExprBool = a.NewTypeExpr(0, t.IDBase, t.IDBool, nil, nil, nil)
typeExprUtility = a.NewTypeExpr(0, t.IDBase, t.IDUtility, nil, nil, nil)
@@ -111,6 +113,8 @@ var builtInTypeMap = typeMap{
t.IDU32: typeExprU32,
t.IDU64: typeExprU64,
t.IDBitvec256: typeExprBitvec256,
t.IDEmptyStruct: typeExprEmptyStruct,
t.IDBool: typeExprBool,
t.IDUtility: typeExprUtility,