From 41645847b4f5187c088149f1177e8a3fc7d1f373 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 7 Aug 2012 09:49:56 +0800 Subject: [PATCH] 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 ce872755ff..4691b5c9c8 100644 --- a/src/pkg/runtime/alg.c +++ b/src/pkg/runtime/alg.c @@ -476,7 +476,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.48.1