From c469cb7c5d27967036c76add18bc69cacfaa6205 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Sat, 22 Sep 2012 05:54:29 +1000 Subject: [PATCH] [release-branch.go1] runtime: remove unnecessary ROUND in alg.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« backport 4bd268b3c88a runtime: remove unnecessary ROUND in alg.c Introduced in CL 6452046. R=golang-dev, nigeltao, dave CC=golang-dev https://golang.org/cl/6459051 »»» --- src/pkg/runtime/alg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/alg.c b/src/pkg/runtime/alg.c index bc848da38c..b43e32a142 100644 --- a/src/pkg/runtime/alg.c +++ b/src/pkg/runtime/alg.c @@ -472,7 +472,7 @@ runtime·equal(Type *t, ...) uintptr ret; x = (byte*)(&t+1); - y = x + ROUND(t->size, t->align); + y = x + t->size; ret = (uintptr)(y + t->size); ret = ROUND(ret, Structrnd); t->alg->equal((bool*)ret, t->size, x, y); -- 2.50.0