1.1 --- a/transresults.py Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/transresults.py Thu Nov 04 23:57:33 2021 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Translation result abstractions.
1.6
1.7 -Copyright (C) 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017, 2018, 2021 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -139,13 +139,7 @@
1.13 "A constant value reference in the translation."
1.14
1.15 def __str__(self):
1.16 -
1.17 - # NOTE: Should reference a common variable for the type name.
1.18 -
1.19 - if self.ref.get_origin() == "__builtins__.int.int":
1.20 - return "__INTVALUE(%s)" % self.value
1.21 - else:
1.22 - return encode_literal_constant(self.number)
1.23 + return encode_literal_constant(self.number)
1.24
1.25 class TrLiteralSequenceRef(LiteralSequenceRef):
1.26