Skip to content

Commit 1accf6a

Browse files
committed
Refactorize EXP visit
1 parent f730e10 commit 1accf6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/zx48k/translator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,8 +1251,8 @@ def visit_ATN(self, node):
12511251
self.REQUIRES.add('atan.asm')
12521252

12531253
def visit_EXP(self, node):
1254-
self.emit('fparam' + self.TSUFFIX(node.operand.type_), node.operand.t)
1255-
self.emit('call', 'EXP', node.size)
1254+
self.ic_fparam(node.operand.type_, node.operand.t)
1255+
self.ic_call('EXP', node.size)
12561256
self.REQUIRES.add('exp.asm')
12571257

12581258
def visit_LN(self, node):

0 commit comments

Comments
 (0)