Fixed: close all relocations, not just callsites
This commit is contained in:
parent
dc223e5c26
commit
193374ae50
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ namespace arookas {
|
||||||
foreach (var callable in mContext.SymbolTable.Callables) {
|
foreach (var callable in mContext.SymbolTable.Callables) {
|
||||||
callable.Compile(this);
|
callable.Compile(this);
|
||||||
}
|
}
|
||||||
foreach (var callable in mContext.SymbolTable.Callables) {
|
foreach (var symbol in mContext.SymbolTable) {
|
||||||
callable.CloseCallSites(this);
|
symbol.CloseRelocations(this);
|
||||||
}
|
}
|
||||||
foreach (var data in mContext.DataTable) {
|
foreach (var data in mContext.DataTable) {
|
||||||
mBinary.WriteData(data);
|
mBinary.WriteData(data);
|
||||||
|
|
Loading…
Reference in a new issue