Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/internal/obj/arm64: simplify buildop
This code stems from the original 7l C code, where one way to determine the end of a table is to put a sentinel entry, then scan for it. This is now Go code and the length of an array is readily available. Remove the sentinel and sentinel scan, then adjust the remaining code to work accordingly. Change-Id: I8964c787f5149f3548fa78bf8923aa7a93f9482e Reviewed-on: https://go-review.googlesource.com/c/go/+/512536 Reviewed-by: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]> Run-TryBot: Joel Sing <[email protected]>
- Loading branch information