From d1177ed40d127e3ca37bda02333516e16fdbb20f Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 10 Jul 2014 15:14:49 -0400 Subject: runtime: nacl/arm support. LGTM=rsc R=rsc, iant, dave CC=golang-codereviews https://golang.org/cl/103680046 --- src/pkg/runtime/runtime.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pkg/runtime/runtime.c') diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c index 26dbbbd3e2..ec0df1d170 100644 --- a/src/pkg/runtime/runtime.c +++ b/src/pkg/runtime/runtime.c @@ -370,11 +370,6 @@ runtime·timediv(int64 v, int32 div, int32 *rem) { int32 res, bit; - if(v >= (int64)div*0x7fffffffLL) { - if(rem != nil) - *rem = 0; - return 0x7fffffff; - } res = 0; for(bit = 30; bit >= 0; bit--) { if(v >= ((int64)div<= (int64)div) { + if(rem != nil) + *rem = 0; + return 0x7fffffff; + } if(rem != nil) *rem = v; return res; -- cgit v1.3-5-g9baa