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