diff options
author | 2012-01-26 16:31:56 -0800 | |
---|---|---|
committer | 2012-01-26 16:31:56 -0800 | |
commit | 405111b0552e4303a0179c1ab36b091e694ba6a5 (patch) | |
tree | 12b8c2d911df41f61cedd3c1d03581bda2d83f91 /BCT/BytecodeTranslator/Sink.cs | |
parent | 7f38aabcee5b8858dd7f87b6d4f6b14b07481872 (diff) |
Separate out the concepts of boxing
(i.e., CLR's creating a heap cell and
putting a value into it) from the concept
of the "union" type that all Boogie types
are a subtype of.
Diffstat (limited to 'BCT/BytecodeTranslator/Sink.cs')
-rw-r--r-- | BCT/BytecodeTranslator/Sink.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BCT/BytecodeTranslator/Sink.cs b/BCT/BytecodeTranslator/Sink.cs index 4499f11e..bc4e7524 100644 --- a/BCT/BytecodeTranslator/Sink.cs +++ b/BCT/BytecodeTranslator/Sink.cs @@ -144,7 +144,7 @@ namespace BytecodeTranslator { if (TypeHelper.TypesAreEquivalent(c, type.PlatformType.SystemValueType)) continue;
return CciTypeToBoogie(c);
}
- return heap.BoxType;
+ return heap.UnionType;
} else
return heap.RefType;
}
|