From 04aba6938b97ebf945a2202b695dbc2c36e5f5be Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 1 Feb 2016 19:15:55 -0500 Subject: [PATCH] Added overloads to the mangling function --- ssc/context.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssc/context.cs b/ssc/context.cs index 01eb29b..0a2c6db 100644 --- a/ssc/context.cs +++ b/ssc/context.cs @@ -202,6 +202,12 @@ namespace arookas { } // static util + static string MangleSystemSymbol(string basename) { + return MangleSymbolName(basename, 0, true, false); + } + static string MangleLocalSymbol(string basename, ulong id) { + return MangleSymbolName(basename, id, false, true); + } static string MangleSymbolName(string basename, ulong id, bool system, bool local) { if (!system && !local) { return basename;