From bf0130cc0f19b5730f5fae0240f85583e70e1a0e Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Fri, 28 Aug 2009 12:37:39 -0700 Subject: sliceslice inline R=rsc OCL=34041 CL=34041 --- src/pkg/runtime/runtime.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pkg/runtime') 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 @@ -45,6 +45,12 @@ sys·throwindex(void) throw("index out of range"); } +void +sys·throwslice(void) +{ + throw("slice out of range"); +} + void sys·throwreturn(void) { -- cgit v1.3-5-g9baa