summaryrefslogtreecommitdiff
path: root/BCT/BytecodeTranslator/HeapFactory.cs
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2011-06-30 23:21:26 -0700
committerGravatar qadeer <qadeer@microsoft.com>2011-06-30 23:21:26 -0700
commit9dfd07f5afe943abf40eaa7a9351ea92748b59ab (patch)
treeb64b87bc8b90b310c5357e836456a621260d3131 /BCT/BytecodeTranslator/HeapFactory.cs
parentb96a31295e5eb0d155cce20cb1d4cb487ecf7fb5 (diff)
bug fix in heap access for splitfield option
Diffstat (limited to 'BCT/BytecodeTranslator/HeapFactory.cs')
-rw-r--r--BCT/BytecodeTranslator/HeapFactory.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/BCT/BytecodeTranslator/HeapFactory.cs b/BCT/BytecodeTranslator/HeapFactory.cs
index 6de7cb95..579ce648 100644
--- a/BCT/BytecodeTranslator/HeapFactory.cs
+++ b/BCT/BytecodeTranslator/HeapFactory.cs
@@ -73,6 +73,8 @@ namespace BytecodeTranslator {
public abstract Bpl.Variable CreateFieldVariable(IFieldReference field);
+ public abstract Bpl.Variable BoxField { get; }
+
#region Boogie Types
[RepresentationFor("Field", "type Field;")]
@@ -184,14 +186,6 @@ namespace BytecodeTranslator {
#endregion
- #region "Boxing" as done in the CLR
- /// <summary>
- /// Used to represent "boxing" as it is done in the CLR.
- /// </summary>
- [RepresentationFor("$BoxField", "const unique $BoxField: Field;")]
- public Bpl.Constant BoxField = null;
- #endregion
-
#region Real number conversions
[RepresentationFor("Int2Real", "function Int2Real(int): Real;")]
public Bpl.Function Int2Real = null;