llvmlite error: AttributeError: 'str' object has no attribute 'type' -


i have defined following in code:

if (str(loadaddr).startswith("0x")):              const_3 = ir.constant(int64, int('{}'.format(loadaddr), 16))              builder.load(tmp0, const_3) 

why encounter following error:

attributeerror: 'str' object has no attribute 'type' 

why happens?


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -