micropython

Change of rsvp.py

249:3a02c37d4489
rsvp.py
     1.1 --- a/rsvp.py	Fri Jul 10 00:52:04 2009 +0200
     1.2 +++ b/rsvp.py	Sat Jul 11 01:18:53 2009 +0200
     1.3 @@ -823,10 +823,10 @@
     1.4          self.machine.result = addr, addr
     1.5  
     1.6      def builtins_int_add(self):
     1.7 -        return self.machine.builtins_int_arithmetic_op(operator.add)
     1.8 +        return self.builtins_int_arithmetic_op(operator.add)
     1.9  
    1.10      def builtins_int_sub(self):
    1.11 -        return self.machine.builtins_int_arithmetic_op(operator.sub)
    1.12 +        return self.builtins_int_arithmetic_op(operator.sub)
    1.13  
    1.14      def builtins_int_bool(self):
    1.15          frame = self.local_sp_stack[-1]
    1.16 @@ -917,22 +917,22 @@
    1.17              self.machine.result = self.false_constant, self.false_constant
    1.18  
    1.19      def builtins_int_lt(self):
    1.20 -        return self.machine.builtins_int_op(operator.lt, 0)
    1.21 +        return self.builtins_int_op(operator.lt, 0)
    1.22  
    1.23      def builtins_int_le(self):
    1.24 -        return self.machine.builtins_int_op(operator.le, 0)
    1.25 +        return self.builtins_int_op(operator.le, 0)
    1.26  
    1.27      def builtins_int_gt(self):
    1.28 -        return self.machine.builtins_int_op(operator.gt, 0)
    1.29 +        return self.builtins_int_op(operator.gt, 0)
    1.30  
    1.31      def builtins_int_ge(self):
    1.32 -        return self.machine.builtins_int_op(operator.ge, 0)
    1.33 +        return self.builtins_int_op(operator.ge, 0)
    1.34  
    1.35      def builtins_int_eq(self):
    1.36 -        return self.machine.builtins_int_op(operator.eq, 0)
    1.37 +        return self.builtins_int_op(operator.eq, 0)
    1.38  
    1.39      def builtins_int_ne(self):
    1.40 -        return self.machine.builtins_int_op(operator.ne, 1)
    1.41 +        return self.builtins_int_op(operator.ne, 1)
    1.42  
    1.43      def builtins_bool_bool(self):
    1.44          frame = self.local_sp_stack[-1]