1.1 --- a/micropython/ast.py Sat Aug 23 21:57:29 2008 +0200
1.2 +++ b/micropython/ast.py Sat Aug 23 22:32:17 2008 +0200
1.3 @@ -498,7 +498,7 @@
1.4 """
1.5
1.6 if self._should_optimise_known_target() and self._have_known_target():
1.7 - last = self.last_op()
1.8 + last = self.active_value
1.9 target = last.attr.value
1.10 context = last.attr.context
1.11
1.12 @@ -1249,7 +1249,6 @@
1.13
1.14 end_attempt_label = self.new_label()
1.15
1.16 - self._startCallFunc()
1.17 self.new_op(temp1)
1.18
1.19 # Get method on temp1.
1.20 @@ -1262,6 +1261,7 @@
1.21 # Add arguments.
1.22 # NOTE: No support for defaults.
1.23
1.24 + self._startCallFunc()
1.25 self.new_op(temp1)
1.26 self.new_op(StoreFrame(0))
1.27 self.new_op(temp2)
1.28 @@ -1280,7 +1280,6 @@
1.29 # End method attempt.
1.30
1.31 self.set_label(end_attempt_label)
1.32 - self._endCallFunc(load_result=0) # From the method call.
1.33
1.34 def _handleAttributeError(self, node, end_call_label):
1.35