Index: src/pkg/runtime/stubs.goc |
=================================================================== |
--- a/src/pkg/runtime/stubs.goc |
+++ b/src/pkg/runtime/stubs.goc |
@@ -69,6 +69,11 @@ |
} |
#pragma textflag NOSPLIT |
+func runtime·gocasp(p *void, x *void, y *void) (ret bool) { |
+ ret = runtime·casp((void**)p, (void*)x, (void*)y); |
+} |
+ |
+#pragma textflag NOSPLIT |
func runtime·getg() (ret *G) { |
ret = g; |
} |