Created
April 30, 2012 23:53
-
-
Save awreece/2563735 to your computer and use it in GitHub Desktop.
Bad go build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go build -v | |
$ go tool dist install -v | |
$ hg diff malloc.goc | |
diff -r 4875dfefc730 src/pkg/runtime/malloc.goc | |
--- a/src/pkg/runtime/malloc.goc Mon Apr 16 10:25:20 2012 -0700 | |
+++ b/src/pkg/runtime/malloc.goc Mon Apr 30 19:52:32 2012 -0400 | |
@@ -25,7 +25,7 @@ | |
// Small objects are allocated from the per-thread cache's free lists. | |
// Large objects (> 32 kB) are allocated straight from the heap. | |
void* | |
-runtime·mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed) | |
+INVALIDruntime·mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed) | |
{ | |
int32 sizeclass, rate; | |
MCache *c; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment