Without this, the following code would not panic:
func getInt(i int) { return i }
make([][1<<18], getInt(1<<18))
Or this code would be allowed to compile for 32-bit systems:
make([][1<<18], 1<<18)
|
||
|---|---|---|
| .. | ||
| calls.go | ||
| channel.go | ||
| compiler.go | ||
| defer.go | ||
| errors.go | ||
| goroutine-lowering.go | ||
| interface-lowering.go | ||
| interface.go | ||
| llvm.go | ||
| map.go | ||
| optimizer.go | ||
| reflect.go | ||
| sizes.go | ||
| syscall.go | ||