1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:20:24 -07:00

runtime: remove unnecessary ROUND in alg.c

Introduced in CL 6452046.

R=golang-dev, nigeltao, dave
CC=golang-dev
https://golang.org/cl/6459051
This commit is contained in:
Shenghou Ma 2012-08-07 09:49:56 +08:00
parent 1e95429c3f
commit 41645847b4

View File

@ -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);