Displaying 3 results from an estimated 3 matches for "jinhuang".
2014 Jan 09
2
[LLVMdev] InstVisitor usage problem
..., y, z;
x = 12;
y = x + 22; /* load value of x that was just stored */
z = y + 33; /* load value of y that was just stored */
return z;
}
there is no stdin in the program .but why it says "Running pass 'visit inst
test' on module '<stdin>'."
Thank You!
-JinHuang
-----
Kind Regards!
-JinHuang
--
View this message in context: http://llvm.1065342.n5.nabble.com/InstVisitor-usage-problem-tp64909.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2014 Jan 08
3
[LLVMdev] reference to non-static member function must be called
...le compiling , it came out such error:
error: reference to non-static member function must be
called
Instruction *inst =
CallInst::Create(print,args,"",&SI);
Can anyone tell me how to fix it? I can not get much useful information in
google!
Thank you!
-JinHuang
--
View this message in context: http://llvm.1065342.n5.nabble.com/reference-to-non-static-member-function-must-be-called-tp64865.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2014 Jan 09
2
[LLVMdev] reference to non-static member function must be called
...ce Page. CallInst has a
member function :
static CallInst * Create (Value *Func, ArrayRef< Value * > Args, const
Twine &NameStr="", Instruction *InsertBefore=0)
This is what I want to use! the default name is "" and I also use that .
Thanks!
-----
Kind Regards!
-JinHuang
--
View this message in context: http://llvm.1065342.n5.nabble.com/reference-to-non-static-member-function-must-be-called-tp64865p64894.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.