diff options
| author | Ken Thompson <ken@golang.org> | 2009-08-28 12:37:39 -0700 |
|---|---|---|
| committer | Ken Thompson <ken@golang.org> | 2009-08-28 12:37:39 -0700 |
| commit | bf0130cc0f19b5730f5fae0240f85583e70e1a0e (patch) | |
| tree | 34f0cceeea5c8451e5b4efa377796548006abd39 /src/pkg/runtime/runtime.c | |
| parent | f59ae064ba5c4766ade933685bed983665052ab2 (diff) | |
| download | go-bf0130cc0f19b5730f5fae0240f85583e70e1a0e.tar.xz | |
sliceslice inline
R=rsc
OCL=34041
CL=34041
Diffstat (limited to 'src/pkg/runtime/runtime.c')
| -rw-r--r-- | src/pkg/runtime/runtime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c index 50a94ec921..6f359e1846 100644 --- a/src/pkg/runtime/runtime.c +++ b/src/pkg/runtime/runtime.c @@ -46,6 +46,12 @@ sys·throwindex(void) } void +sys·throwslice(void) +{ + throw("slice out of range"); +} + +void sys·throwreturn(void) { throw("no return at end of a typed function"); |
