File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1175,13 +1175,13 @@ def visit_IN(self, node):
11751175 self .ic_in (node .children [0 ].t )
11761176
11771177 def visit_CODE (self , node ):
1178- self .emit ( 'fparam' + self . TSUFFIX ( gl .PTR_TYPE ) , node .operand .t )
1178+ self .ic_fparam ( gl .PTR_TYPE , node .operand .t )
11791179 if node .operand .token != 'STRING' and node .operand .token != 'VAR' and node .operand .t != '_' :
1180- self .emit ( 'fparamu8' , 1 ) # If the argument is not a variable, it must be freed
1180+ self .ic_fparam ( TYPE . ubyte , 1 ) # If the argument is not a variable, it must be freed
11811181 else :
1182- self .emit ( 'fparamu8' , 0 )
1182+ self .ic_fparam ( TYPE . ubyte , 0 )
11831183
1184- self .emit ( 'call' , '__ASC' , Type .ubyte .size ) # Expect a char code
1184+ self .ic_call ( '__ASC' , Type .ubyte .size ) # Expect a char code
11851185 backend .REQUIRES .add ('asc.asm' )
11861186
11871187 def visit_CHR (self , node ):
You can’t perform that action at this time.
0 commit comments