From 193374ae50c85f25bade89e427debf264f5e19ff Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 1 Feb 2016 14:04:29 -0500 Subject: [PATCH] Fixed: close all relocations, not just callsites --- ssc/compiler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);