aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encodingexec.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encodingexec.go')
-rw-r--r--prog/encodingexec.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/prog/encodingexec.go b/prog/encodingexec.go
index 659f4be3f..651ecef51 100644
--- a/prog/encodingexec.go
+++ b/prog/encodingexec.go
@@ -100,13 +100,6 @@ func (w *execContext) serializeCall(c *Call) {
w.writeCopyout(c)
}
-func (target *Target) PhysicalAddr(arg *PointerArg) uint64 {
- if arg.IsNull() {
- return 0
- }
- return target.DataOffset + arg.Address
-}
-
type execContext struct {
target *Target
buf []byte