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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -