Commit c91e2490 by Ian Lance Taylor

runtime: Save all registers on stack for GC scan.

From-SVN: r184098
parent a8fc9855
......@@ -936,6 +936,10 @@ runtime_gc(int32 force)
const byte *p;
bool extra;
// Make sure all registers are saved on stack so that
// scanstack sees them.
__builtin_unwind_init();
// The gc is turned off (via enablegc) until
// the bootstrap has completed.
// Also, malloc gets called in the guts
......
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