diff --git a/ssc/compiler.cs b/ssc/compiler.cs index 949b455..a387eed 100644 --- a/ssc/compiler.cs +++ b/ssc/compiler.cs @@ -51,8 +51,8 @@ namespace arookas { foreach (var callable in mContext.SymbolTable.Callables) { callable.Compile(this); } - foreach (var callable in mContext.SymbolTable.Callables) { - callable.CloseCallSites(this); + foreach (var symbol in mContext.SymbolTable) { + symbol.CloseRelocations(this); } foreach (var data in mContext.DataTable) { mBinary.WriteData(data);