Commit c587c449 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

CloneNode result_code modernization.

parent cf61552b
...@@ -4275,7 +4275,7 @@ class CloneNode(CoercionNode): ...@@ -4275,7 +4275,7 @@ class CloneNode(CoercionNode):
if hasattr(arg, 'entry'): if hasattr(arg, 'entry'):
self.entry = arg.entry self.entry = arg.entry
def calculate_result_code(self): def result(self):
return self.arg.result() return self.arg.result()
def analyse_types(self, env): def analyse_types(self, env):
...@@ -4295,7 +4295,7 @@ class CloneNode(CoercionNode): ...@@ -4295,7 +4295,7 @@ class CloneNode(CoercionNode):
pass pass
def allocate_temps(self, env): def allocate_temps(self, env):
self.result_code = self.calculate_result_code() pass
def release_temp(self, env): def release_temp(self, env):
pass pass
......
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