Commit 246074d0 authored by Matthew Dempsky's avatar Matthew Dempsky

cmd/internal/obj: remove ACHECKNIL

Updates #16357.

Change-Id: I35f938d675ca5c31f65c4419ee0732bbc593b5cb
Reviewed-on: https://go-review.googlesource.com/29368
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: default avatarDave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent e518962a
...@@ -29,7 +29,6 @@ var progtable = [x86.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -29,7 +29,6 @@ var progtable = [x86.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -28,7 +28,6 @@ var progtable = [arm.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -28,7 +28,6 @@ var progtable = [arm.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -31,7 +31,6 @@ var progtable = [arm64.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -31,7 +31,6 @@ var progtable = [arm64.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -31,7 +31,6 @@ var progtable = [mips.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -31,7 +31,6 @@ var progtable = [mips.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -31,7 +31,6 @@ var progtable = [ppc64.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -31,7 +31,6 @@ var progtable = [ppc64.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -24,7 +24,6 @@ var progtable = [s390x.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -24,7 +24,6 @@ var progtable = [s390x.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA & obj.AMask: {Flags: gc.Pseudo}, obj.APCDATA & obj.AMask: {Flags: gc.Pseudo},
obj.AUNDEF & obj.AMask: {Flags: gc.Break}, obj.AUNDEF & obj.AMask: {Flags: gc.Break},
obj.AUSEFIELD & obj.AMask: {Flags: gc.OK}, obj.AUSEFIELD & obj.AMask: {Flags: gc.OK},
obj.ACHECKNIL & obj.AMask: {Flags: gc.LeftRead},
obj.AVARDEF & obj.AMask: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF & obj.AMask: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL & obj.AMask: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL & obj.AMask: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE & obj.AMask: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE & obj.AMask: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -37,7 +37,6 @@ var progtable = [x86.ALAST & obj.AMask]obj.ProgInfo{ ...@@ -37,7 +37,6 @@ var progtable = [x86.ALAST & obj.AMask]obj.ProgInfo{
obj.APCDATA: {Flags: gc.Pseudo}, obj.APCDATA: {Flags: gc.Pseudo},
obj.AUNDEF: {Flags: gc.Break}, obj.AUNDEF: {Flags: gc.Break},
obj.AUSEFIELD: {Flags: gc.OK}, obj.AUSEFIELD: {Flags: gc.OK},
obj.ACHECKNIL: {Flags: gc.LeftRead},
obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARDEF: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite}, obj.AVARKILL: {Flags: gc.Pseudo | gc.RightWrite},
obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead}, obj.AVARLIVE: {Flags: gc.Pseudo | gc.LeftRead},
......
...@@ -271,7 +271,6 @@ type As int16 ...@@ -271,7 +271,6 @@ type As int16
const ( const (
AXXX As = iota AXXX As = iota
ACALL ACALL
ACHECKNIL
ADUFFCOPY ADUFFCOPY
ADUFFZERO ADUFFZERO
AEND AEND
......
...@@ -472,7 +472,6 @@ func (a As) String() string { ...@@ -472,7 +472,6 @@ func (a As) String() string {
var Anames = []string{ var Anames = []string{
"XXX", "XXX",
"CALL", "CALL",
"CHECKNIL",
"DUFFCOPY", "DUFFCOPY",
"DUFFZERO", "DUFFZERO",
"END", "END",
......
...@@ -1742,7 +1742,6 @@ var optab = ...@@ -1742,7 +1742,6 @@ var optab =
{obj.ATYPE, nil, 0, [23]uint8{}}, {obj.ATYPE, nil, 0, [23]uint8{}},
{obj.AFUNCDATA, yfuncdata, Px, [23]uint8{0, 0}}, {obj.AFUNCDATA, yfuncdata, Px, [23]uint8{0, 0}},
{obj.APCDATA, ypcdata, Px, [23]uint8{0, 0}}, {obj.APCDATA, ypcdata, Px, [23]uint8{0, 0}},
{obj.ACHECKNIL, nil, 0, [23]uint8{}},
{obj.AVARDEF, nil, 0, [23]uint8{}}, {obj.AVARDEF, nil, 0, [23]uint8{}},
{obj.AVARKILL, nil, 0, [23]uint8{}}, {obj.AVARKILL, nil, 0, [23]uint8{}},
{obj.ADUFFCOPY, yduff, Px, [23]uint8{0xe8}}, {obj.ADUFFCOPY, yduff, Px, [23]uint8{0xe8}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment