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:
parent
1e95429c3f
commit
41645847b4
@ -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…
Reference in New Issue
Block a user