Displaying 2 results from an estimated 2 matches for "v_args".
Did you mean:
t_args
2011 Sep 04
1
[LLVMdev] correct types for ArgumentList?
...gt; a_params(v_params);
Where the assignment will look something like this:
Value *val = newFunc->arg_begin();
Value *ptr = ++(newFunc->arg_begin());
new StoreInst(val, ptr, block);
But the only way I know to call is it is like this:
vector<Value *> v_args;
v_args.push_back(shadow);
v_args.push_back(store->getValueOperand());
v_args.push_back(store->getPointerOperand());
ArrayRef<Value *> a_args(v_args);
What is the correct way todo something like this? The full code for
this simple pass is here: http://tinypaste.com/4df56
Thank...
2007 Sep 25
2
Bug in win32-api with void prototypes?
Hi all,
It seems that a void prototype requires an explicit argument in our
version of win32/api:
C:\>irb
irb(main):001:0> require ''win32/api''
=> true
irb(main):002:0> include Win32
=> Object
irb(main):003:0> require ''Win32API''
=> true
# Our version
irb(main):004:0> GetLastErrorA = API.new(''GetLastError'',