summaryrefslogtreecommitdiff
path: root/BCT/BytecodeTranslator/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BCT/BytecodeTranslator/Program.cs')
-rw-r--r--BCT/BytecodeTranslator/Program.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/BCT/BytecodeTranslator/Program.cs b/BCT/BytecodeTranslator/Program.cs
index 09a82009..99528902 100644
--- a/BCT/BytecodeTranslator/Program.cs
+++ b/BCT/BytecodeTranslator/Program.cs
@@ -25,7 +25,7 @@ namespace BytecodeTranslator {
[OptionDescription("Search paths for assembly dependencies.", ShortForm = "lib")]
public List<string> libpaths = new List<string>();
- public enum HeapRepresentation { splitFields, twoDInt, twoDBox }
+ public enum HeapRepresentation { splitFields, twoDInt, twoDBox, general }
[OptionDescription("Heap representation to use", ShortForm = "heap")]
public HeapRepresentation heapRepresentation = HeapRepresentation.twoDInt;
@@ -63,6 +63,9 @@ namespace BytecodeTranslator {
case Options.HeapRepresentation.twoDBox:
heap = new TwoDBoxHeap();
break;
+ case Options.HeapRepresentation.general:
+ heap = new GeneralHeap();
+ break;
default:
Console.WriteLine("Unknown setting for /heap");
return 1;