Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix just-in-time sub compilation to not overwrite parts of the protopad
  • Loading branch information
sorear committed Nov 1, 2011
1 parent 8cfcd18 commit 81deb74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Kernel.cs
Expand Up @@ -721,8 +721,7 @@ public sealed class RuntimeUnit : IFreeze {
SetConstants(eu.Finish(), eu.constants);

th.code = th.info.code;
if (th.info.nspill > 0)
th.lexn = new object[th.info.nspill];
th.EnsureSpills(th.info.nspill);

return th;
}
Expand Down

0 comments on commit 81deb74

Please sign in to comment.