aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-08-07 09:49:56 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-08-07 09:49:56 +0800
commit41645847b4f5187c088149f1177e8a3fc7d1f373 (patch)
tree45e2acc4ef468dbbb603aa69a157c0f33a0adedb /src/pkg/runtime
parent1e95429c3fbfb9a30bd8a68e95bce4f882b40aec (diff)
downloadgo-41645847b4f5187c088149f1177e8a3fc7d1f373.tar.xz
runtime: remove unnecessary ROUND in alg.c
Introduced in CL 6452046. R=golang-dev, nigeltao, dave CC=golang-dev https://golang.org/cl/6459051
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/alg.c2
1 files changed, 1 insertions, 1 deletions
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);