[dev.ssa] cmd/compile: implement more panic stuff
Implement index check panics (and slice check panics, for when we need those). Clean up nil check. Now that the new regalloc is in we can use the register we just tested as the address 0 destination. Remove jumps after panic calls, they are unreachable. Change-Id: Ifee6e510cdea49cc7c7056887e4f06c67488d491 Reviewed-on: https://go-review.googlesource.com/13687Reviewed-by:Josh Bleecher Snyder <josharian@gmail.com>
Showing
Please register or sign in to comment