Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(283)

Unified Diff: src/pkg/runtime/sys_darwin_amd64.s

Issue 6498057: code review 6498057: runtime: discard SIGPROF delivered to non-Go threads. (Closed)
Patch Set: diff -r 92e962e13197 https://code.google.com/p/go/ Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/sys_darwin_386.s ('k') | src/pkg/runtime/sys_freebsd_386.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/sys_darwin_amd64.s
===================================================================
--- a/src/pkg/runtime/sys_darwin_amd64.s
+++ b/src/pkg/runtime/sys_darwin_amd64.s
@@ -173,8 +173,10 @@
// check that m exists
MOVQ m(BX), BP
CMPQ BP, $0
- JNE 2(PC)
+ JNE 4(PC)
+ MOVL DX, 0(SP)
CALL runtime·badsignal(SB)
+ RET
// save g
MOVQ g(BX), R10
« no previous file with comments | « src/pkg/runtime/sys_darwin_386.s ('k') | src/pkg/runtime/sys_freebsd_386.s » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b