aboutsummaryrefslogtreecommitdiff
path: root/src/internal/abi/abi.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/abi/abi.go')
-rw-r--r--src/internal/abi/abi.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/internal/abi/abi.go b/src/internal/abi/abi.go
new file mode 100644
index 0000000000..07ea51df8f
--- /dev/null
+++ b/src/internal/abi/abi.go
@@ -0,0 +1,12 @@
+// Copyright 2020 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package abi
+
+// RegArgs is a struct that has space for each argument
+// and return value register on the current architecture.
+type RegArgs struct {
+ Ints [IntArgRegs]uintptr
+ Floats [FloatArgRegs]uint64
+}