Commit 081e7aad by Ian Lance Taylor

runtime: Fix build on non-split-stack systems.

From-SVN: r200983
parent 1c858af5
......@@ -1666,7 +1666,11 @@ runtime_entersyscall()
&g->gcnext_segment, &g->gcnext_sp,
&g->gcinitial_sp);
#else
g->gcnext_sp = (byte *) &v;
{
uint32 v;
g->gcnext_sp = (byte *) &v;
}
#endif
// Save the registers in the g structure so that any pointers
......@@ -1713,7 +1717,7 @@ runtime_entersyscallblock(void)
&g->gcnext_segment, &g->gcnext_sp,
&g->gcinitial_sp);
#else
g->gcnext_sp = (byte *) &v;
g->gcnext_sp = (byte *) &p;
#endif
// Save the registers in the g structure so that any pointers
......
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