Skip to content

Commit c18506f

Browse files
remove all references to DynamicCallReg
1 parent 3b90f2c commit c18506f

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

pkg/proc/amd64_arch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func AMD64Arch(goos string) *Arch {
4444
debugCallMinStackSize: 256,
4545
maxRegArgBytes: 9*8 + 15*8,
4646
argumentRegs: []int{regnum.AMD64_Rax, regnum.AMD64_Rbx, regnum.AMD64_Rcx},
47-
DynamicCallReg: regnum.AMD64_Rcx,
4847
}
4948
}
5049

pkg/proc/arch.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ type Arch struct {
5757
maxRegArgBytes int
5858
// argumentRegs are function call injection registers for runtimeOptimizedWorkaround
5959
argumentRegs []int
60-
// dynamicCallReg is the register used for making dynamic calls
61-
DynamicCallReg uint64
6260

6361
// asmRegisters maps assembly register numbers to dwarf registers.
6462
asmRegisters map[int]asmRegister

pkg/proc/arm64_arch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ func ARM64Arch(goos string) *Arch {
5454
debugCallMinStackSize: 288,
5555
maxRegArgBytes: 16*8 + 16*8, // 16 int argument registers plus 16 float argument registers
5656
argumentRegs: []int{regnum.ARM64_X0, regnum.ARM64_X0 + 1, regnum.ARM64_X0 + 2},
57-
DynamicCallReg: regnum.ARM64_X0 + 1,
5857
}
5958
}
6059

pkg/proc/i386_arch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func I386Arch(goos string) *Arch {
3737
asmRegisters: i386AsmRegisters,
3838
RegisterNameToDwarf: nameToDwarfFunc(regnum.I386NameToDwarf),
3939
RegnumToString: regnum.I386ToName,
40-
DynamicCallReg: regnum.I386_Eax,
4140
}
4241
}
4342

pkg/proc/ppc64le_arch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func PPC64LEArch(goos string) *Arch {
4343
debugCallMinStackSize: 320,
4444
maxRegArgBytes: 13*8 + 13*8,
4545
argumentRegs: []int{regnum.PPC64LE_R0 + 3, regnum.PPC64LE_R0 + 4, regnum.PPC64LE_R0 + 5},
46-
DynamicCallReg: regnum.PPC64LE_LR,
4746
}
4847
}
4948

0 commit comments

Comments
 (0)