diff options
author | Bryan C. Mills <bcmills@google.com> | 2021-03-01 14:43:24 +0000 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2021-03-01 15:24:01 +0000 |
commit | a400eb3261ee3798e0715d2ba6a4083abe59150a (patch) | |
tree | b1458b0d714c3fc491e2eef32681588aa3bf4af9 /src/cmd/compile/internal/gc | |
parent | 5fafc0bbd4819578e58e5b9163981b0074ab0b01 (diff) | |
download | go-a400eb3261ee3798e0715d2ba6a4083abe59150a.tar.gz go-a400eb3261ee3798e0715d2ba6a4083abe59150a.zip |
Revert "cmd/compile: check frame offsets against abi"
This reverts CL 293392.
Reason for revert: broke most non-x86 builders
Fixes #44675
Change-Id: I1e815c3ab27a02e83a2f0d221a617909dd021403
Reviewed-on: https://go-review.googlesource.com/c/go/+/297549
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc')
-rw-r--r-- | src/cmd/compile/internal/gc/compile.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/gc/compile.go b/src/cmd/compile/internal/gc/compile.go index 9a4c00a341..ba67c58c45 100644 --- a/src/cmd/compile/internal/gc/compile.go +++ b/src/cmd/compile/internal/gc/compile.go @@ -43,9 +43,6 @@ func enqueueFunc(fn *ir.Func) { if len(fn.Body) == 0 { // Initialize ABI wrappers if necessary. ssagen.InitLSym(fn, false) - types.CalcSize(fn.Type()) // TODO register args; remove this once all is done by abiutils - a := ssagen.AbiForFunc(fn) - a.ABIAnalyze(fn.Type()) // will set parameter spill/home locations correctly liveness.WriteFuncMap(fn) return } |