Commit c3be7608 authored by Alex Brainman's avatar Alex Brainman

runtime: increase maximum number of windows callbacks

Fixes #1912.

R=rsc
CC=golang-dev
https://golang.org/cl/4591047
parent ffd01f2a
......@@ -373,7 +373,7 @@ runtime·compilecallback(Eface fn, bool cleanstack)
return &c->asmbody;
}
}
if(cbs.n >= 20)
if(cbs.n >= 2000)
runtime·throw("too many callback functions");
c = runtime·mal(sizeof *c + n);
c->gobody = fn.data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment