aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2013-07-19 11:19:18 -0700
committerKeith Randall <khr@golang.org>2013-07-19 11:19:18 -0700
commit6fc49c18540938cd4699c1eb8cb05bd00ff9f59c (patch)
treedb7220ee8c655facf9f9492e4d75137d4eb3b81b /src/pkg/runtime/runtime.h
parenteb04df75cd87722f396fb66583279afe5abfb1ca (diff)
downloadgo-6fc49c18540938cd4699c1eb8cb05bd00ff9f59c.tar.xz
runtime: cleanup: use ArgsSizeUnknown to mark all functions
whose argument size is unknown (C vararg functions, and assembly code without an explicit specification). We used to use 0 to mean "unknown" and 1 to mean "zero". Now we use ArgsSizeUnknown (0x80000000) to mean "unknown". R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11590043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 3a11f88954..811ec76653 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -148,12 +148,6 @@ enum
// Global <-> per-M stack segment cache transfer batch size.
StackCacheBatch = 16,
};
-enum
-{
- // This value is generated by the linker and should be kept in
- // sync with cmd/ld/lib.h
- ArgsSizeUnknown = 0x80000000,
-};
/*
* structures
*/