aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/LSOEngine
diff options
context:
space:
mode:
authorJeff Ames2008-03-25 03:49:08 +0000
committerJeff Ames2008-03-25 03:49:08 +0000
commit9d1b42c39a779c84dd091a817d2f6e5f434777c4 (patch)
tree0c1c0ad1db253daf3f8fa8389d2a5ae98b899c11 /OpenSim/Region/ScriptEngine/LSOEngine
parentFix a couple more warnings. (diff)
downloadopensim-SC-9d1b42c39a779c84dd091a817d2f6e5f434777c4.zip
opensim-SC-9d1b42c39a779c84dd091a817d2f6e5f434777c4.tar.gz
opensim-SC-9d1b42c39a779c84dd091a817d2f6e5f434777c4.tar.bz2
opensim-SC-9d1b42c39a779c84dd091a817d2f6e5f434777c4.tar.xz
Comment out unused private methods.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/LSOEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/LSO/IL_common_functions.cs27
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs9
2 files changed, 19 insertions, 17 deletions
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
34{ 34{
35 internal partial class LSO_Parser 35 internal partial class LSO_Parser
36 { 36 {
37 private static TypeBuilder CreateType(ModuleBuilder modBuilder, string typeName) 37// TODO: unused:
38 { 38// private static TypeBuilder CreateType(ModuleBuilder modBuilder, string typeName)
39 TypeBuilder typeBuilder = modBuilder.DefineType(typeName, 39// {
40 TypeAttributes.Public | 40// TypeBuilder typeBuilder = modBuilder.DefineType(typeName,
41 TypeAttributes.Class | 41// TypeAttributes.Public |
42 TypeAttributes.AutoClass | 42// TypeAttributes.Class |
43 TypeAttributes.AnsiClass | 43// TypeAttributes.AutoClass |
44 TypeAttributes.BeforeFieldInit | 44// TypeAttributes.AnsiClass |
45 TypeAttributes.AutoLayout, 45// TypeAttributes.BeforeFieldInit |
46 typeof (object), 46// TypeAttributes.AutoLayout,
47 new Type[] {typeof (object)}); 47// typeof (object),
48 return typeBuilder; 48// new Type[] {typeof (object)});
49 } 49// return typeBuilder;
50// }
50 } 51 }
51} 52}
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
342 return false; 342 return false;
343 } 343 }
344 344
345 private void IL_PopToStack(ILGenerator il) 345// TODO: unused
346 { 346// private void IL_PopToStack(ILGenerator il)
347 IL_PopToStack(il, 1); 347// {
348 } 348// IL_PopToStack(il, 1);
349// }
349 350
350 private void IL_PopToStack(ILGenerator il, int count) 351 private void IL_PopToStack(ILGenerator il, int count)
351 { 352 {