From 9d1b42c39a779c84dd091a817d2f6e5f434777c4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 25 Mar 2008 03:49:08 +0000 Subject: Comment out unused private methods. --- .../LSOEngine/LSO/IL_common_functions.cs | 27 +++++++++++----------- .../LSOEngine/LSO/LSL_OPCODE_IL_processor.cs | 9 ++++---- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/LSOEngine') diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/IL_common_functions.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/IL_common_functions.cs index a36ab1b..60d68f5 100644 --- a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/IL_common_functions.cs +++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/IL_common_functions.cs @@ -34,18 +34,19 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO { internal partial class LSO_Parser { - private static TypeBuilder CreateType(ModuleBuilder modBuilder, string typeName) - { - TypeBuilder typeBuilder = modBuilder.DefineType(typeName, - TypeAttributes.Public | - TypeAttributes.Class | - TypeAttributes.AutoClass | - TypeAttributes.AnsiClass | - TypeAttributes.BeforeFieldInit | - TypeAttributes.AutoLayout, - typeof (object), - new Type[] {typeof (object)}); - return typeBuilder; - } +// TODO: unused: +// private static TypeBuilder CreateType(ModuleBuilder modBuilder, string typeName) +// { +// TypeBuilder typeBuilder = modBuilder.DefineType(typeName, +// TypeAttributes.Public | +// TypeAttributes.Class | +// TypeAttributes.AutoClass | +// TypeAttributes.AnsiClass | +// TypeAttributes.BeforeFieldInit | +// TypeAttributes.AutoLayout, +// typeof (object), +// new Type[] {typeof (object)}); +// return typeBuilder; +// } } } diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs index ff0fe77..34a784c 100644 --- a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs +++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs @@ -342,10 +342,11 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO return false; } - private void IL_PopToStack(ILGenerator il) - { - IL_PopToStack(il, 1); - } +// TODO: unused +// private void IL_PopToStack(ILGenerator il) +// { +// IL_PopToStack(il, 1); +// } private void IL_PopToStack(ILGenerator il, int count) { -- cgit v1.1