Change TV ranking to select src vars as a representative during unification; Nit: cleanup dot() emitting code; Nit: fix small bug in verify_semantics() - make an internal copy of src rtl to avoid clobbering of typevars re-used in multiple definitions
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
20d96a1ac4
commit
e41ddf2a0d
@@ -31,6 +31,7 @@ def verify_semantics(inst, src, xforms):
|
||||
|
||||
# 2) Any possible typing for the instruction should be covered by
|
||||
# exactly ONE semantic XForm
|
||||
src = src.copy({})
|
||||
typenv = get_type_env(ti_rtl(src, TypeEnv()))
|
||||
typenv.normalize()
|
||||
typenv = typenv.extract()
|
||||
|
||||
Reference in New Issue
Block a user