More BCE.

This commit is contained in:
Nuno Cruces
2024-09-28 10:37:47 +01:00
parent 32931032d3
commit 5b0a063bfe
3 changed files with 4 additions and 6 deletions

View File

@@ -640,9 +640,7 @@ func (s *Stmt) Columns(dest []any) error {
types := util.View(s.c.mod, typePtr, count)
// hint to the compiler that
// it can omit bounds check
// accessing types[i] below.
// Avoid bounds checks on types below.
if len(types) != len(dest) {
panic(util.AssertErr())
}