all: drop support for LLVM 10

This commit is contained in:
Ayke van Laethem
2021-10-31 01:30:17 +02:00
committed by Ron Evans
parent afd49e7cdd
commit 90076f9401
18 changed files with 102 additions and 171 deletions
-10
View File
@@ -48,16 +48,6 @@ func printint16(n int16) {
}
func printuint32(n uint32) {
if TargetBits == 8 {
// AVR-specific workaround on LLVM 10. Should be removed when we switch
// to LLVM 11.
prevdigits := n / 10
if prevdigits != 0 {
printuint32(prevdigits)
}
putchar(byte((n % 10) + '0'))
return
}
printuint64(uint64(n))
}