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

Delta Between Two Patch Sets: src/pkg/runtime/stubs.go

Issue 115860045: code review 115860045: runtime: add throwgo (Closed)
Left Patch Set: diff -r 8e05add24c7e https://code.google.com/p/go Created 10 years, 8 months ago
Right Patch Set: diff -r bac0a67b0b70 https://code.google.com/p/go Created 10 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/panic.c ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2014 The Go Authors. All rights reserved. 1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package runtime 5 package runtime
6 6
7 import "unsafe" 7 import "unsafe"
8 8
9 // Declarations for runtime services implemented in C or assembly. 9 // Declarations for runtime services implemented in C or assembly.
10 // C implementations of these functions are in stubs.goc. 10 // C implementations of these functions are in stubs.goc.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // exported value for testing 76 // exported value for testing
77 var hashLoad = loadFactor 77 var hashLoad = loadFactor
78 78
79 // in asm_*.s 79 // in asm_*.s
80 //go:noescape 80 //go:noescape
81 func gomemeq(a, b unsafe.Pointer, size uintptr) bool 81 func gomemeq(a, b unsafe.Pointer, size uintptr) bool
82 82
83 // Code pointer for the nohash algorithm. Used for producing better error messag es. 83 // Code pointer for the nohash algorithm. Used for producing better error messag es.
84 var nohashcode uintptr 84 var nohashcode uintptr
85
86 // Go version of runtime.throw.
87 // in panic.c
88 func throwgo(s string)
LEFTRIGHT

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