Displaying 1 result from an estimated 1 matches for "gvaddress".
Did you mean:
address
2013 Jan 11
0
[LLVMdev] modifiy the address of GlobalVariable emitted by JIT
...h means maybe some threads would try to
modify the address of @G
at the same time, but I think there is no big deal because what all threads
are trying to do is just
modify the address from A to B ( A , B is fixed ).
I modify the address of the globalvariable by
long* addr = (long*)(cur->getGVAddressPtrVector()[ix]); // no vector
insertion or deletion when this is called.
*addr = (long)next->getMachBlock();
% ix is just a vector index
---------------------------------------------------
std::vector<long>& TransBlock::getGVAddressPtrVector()
{
return gvAddress; // this vector st...