<html dir=""><head><style id="axi-htmleditor-style" type="text/css">p { margin: 0px; }</style></head><body style="font-size: 10pt; font-family: Arial; background-image: none; background-repeat: repeat; background-attachment: fixed;">​Hi all, <br><br><br>I have defined the following in my code:<br><br>if (str(loadaddr).startswith("0x")):<br>             const_3 = ir.Constant(int64, int('{}'.format(loadaddr), 16))<br>             builder.load(tmp0, const_3)<br><br>Why I encounter the following error:<br><br><br>AttributeError: 'str' object has no attribute 'type'<br><br>Thank you in advance<br><br></body></html><pre>
-- 
This email was Anti Virus checked by  Security Gateway.</pre>