1. Pypy
  2. Untitled project
  3. pypy

Commits

Carl Friedrich Bolz  committed 71a347e

(arigo, cfbolz): fix a lot of tests

  • Participants
  • Parent commits fb34c35
  • Branches refactor-not-in-translator

Comments (0)

Files changed (1)

File pypy/rpython/rmodel.py

View file
  • Ignore whitespace
         else:
             return hop.genop('int_is_true', [vlen], resulttype=Bool)
 
+    def rtype_is_false(self, hop):
+        v = self.rtype_is_true(hop)
+        return hop.genop("bool_not", [v], resulttype=Bool)
+
     def rtype_hash(self, hop):
         ll_hash = self.get_ll_hash_function()
         v, = hop.inputargs(self)