Commit 3819ab7f authored by Stefan Behnel's avatar Stefan Behnel

TupleNode is always simple

parent e170c96d
......@@ -3997,6 +3997,10 @@ class TupleNode(SequenceNode):
self.is_temp = 0
self.is_literal = 1
def is_simple(self):
# either temp or constant => always simple
return True
def calculate_result_code(self):
if len(self.args) > 0:
return self.result_code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment