File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ class CoreLabels:
110110 STORE_STR = f"{ NAMESPACE } __STORE_STR"
111111 STORE_STR2 = f"{ NAMESPACE } __STORE_STR2"
112112 STR_ARRAYCOPY = f"{ NAMESPACE } STR_ARRAYCOPY"
113+ STR_FAST = f"{ NAMESPACE } __STR_FAST"
113114 STREQ = f"{ NAMESPACE } __STREQ"
114115 STRGE = f"{ NAMESPACE } __STRGE"
115116 STRGT = f"{ NAMESPACE } __STRGT"
@@ -236,6 +237,7 @@ class CoreLabels:
236237 CoreLabels .STORE_STR : 'storestr.asm' ,
237238 CoreLabels .STORE_STR2 : 'storestr2.asm' ,
238239 CoreLabels .STR_ARRAYCOPY : 'strarraycpy.asm' ,
240+ CoreLabels .STR_FAST : 'str.asm' ,
239241 CoreLabels .STREQ : 'string.asm' ,
240242 CoreLabels .STRGE : 'string.asm' ,
241243 CoreLabels .STRGT : 'string.asm' ,
Original file line number Diff line number Diff line change @@ -1242,8 +1242,7 @@ def visit_CHR(self, node):
12421242
12431243 def visit_STR (self , node ):
12441244 self .ic_fparam (TYPE .float_ , node .children [0 ].t )
1245- self .ic_call ('__STR_FAST' , node .type_ .size )
1246- backend .REQUIRES .add ('str.asm' )
1245+ self .runtime_call (RuntimeLabel .STR_FAST , node .type_ .size )
12471246
12481247 def visit_LEN (self , node ):
12491248 self .ic_lenstr (node .t , node .operand .t )
You can’t perform that action at this time.
0 commit comments