Skip to content

Commit 7fdd3ba

Browse files
committed
Refactorize LEN visit
1 parent 81fdd58 commit 7fdd3ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/zx48k/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ def visit_STR(self, node):
11951195
backend.REQUIRES.add('str.asm')
11961196

11971197
def visit_LEN(self, node):
1198-
self.emit('lenstr', node.t, node.operand.t)
1198+
self.ic_lenstr(node.t, node.operand.t)
11991199

12001200
def visit_VAL(self, node):
12011201
self.emit('fparam' + self.TSUFFIX(gl.PTR_TYPE), node.operand.t)

0 commit comments

Comments
 (0)