Displaying 2 results from an estimated 2 matches for "108a7266".
2009 Aug 01
0
[LLVMdev] Inserting Instructions (pass)
...you give me a snippet of example code, or somebody else?
> Thanks for help
Yes, either of these should work. What *problem* are you seeing?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090731/108a7266/attachment.html>
2009 Aug 01
2
[LLVMdev] Inserting Instructions (pass)
Thank you Chris,
for your hint, but I am still too stupid. I tried two versions
asm_arguments.push_back(Type::VoidTy);
FunctionType *asm_type = FunctionType::get(Type::VoidTy, asm_arguments,
false);
Alternatively
FunctionType *asm_type = FunctionType::get(Type::VoidTy, std::vector<const
Type*>(), false);
. Can you give me a snippet of example code, or somebody else?