From 379c6a37b7b74656d335235220fef676fdd15c38 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 15 Jun 2011 11:29:10 -0700 Subject: Real2Int type error --- BCT/BytecodeTranslator/HeapFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BCT/BytecodeTranslator/HeapFactory.cs b/BCT/BytecodeTranslator/HeapFactory.cs index 3404c190..759f7b31 100644 --- a/BCT/BytecodeTranslator/HeapFactory.cs +++ b/BCT/BytecodeTranslator/HeapFactory.cs @@ -197,7 +197,7 @@ namespace BytecodeTranslator { #region Real number conversions [RepresentationFor("Int2Real", "function Int2Real(int, Type, Type): Real;")] public Bpl.Function Int2Real = null; - [RepresentationFor("Real2Int", "function Real2Int(Real, Type, Type): Real;")] + [RepresentationFor("Real2Int", "function Real2Int(Real, Type, Type): int;")] public Bpl.Function Real2Int = null; [RepresentationFor("Ref2Real", "function Ref2Real(Ref, Type, Type): Real;")] public Bpl.Function Ref2Real = null; -- cgit v1.2.3