mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
1e95429c3f
commit
41645847b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue