Fixed: restore writer position after relocations
Damn, this was a nasty bug to find.
This commit is contained in:
parent
fefb17524c
commit
2438e00383
1 changed files with 2 additions and 0 deletions
|
@ -104,9 +104,11 @@ namespace arookas {
|
|||
mRelocations.Add(relocation);
|
||||
}
|
||||
public void CloseRelocations(sunCompiler compiler) {
|
||||
compiler.Binary.Keep();
|
||||
foreach (var relocation in mRelocations) {
|
||||
relocation.Relocate(compiler);
|
||||
}
|
||||
compiler.Binary.Back();
|
||||
}
|
||||
|
||||
public static sunSymbolModifiers GetModifiers(sunNode modifierlist) {
|
||||
|
|
Loading…
Reference in a new issue