mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +00:00
Rename cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65ea171409
commit
3bcce72f95
@ -798,7 +798,7 @@ static PointerTy getElementOffset(Instruction *I, unsigned ArgOff) {
|
||||
}
|
||||
|
||||
static void executeGEPInst(GetElementPtrInst *I, ExecutionContext &SF) {
|
||||
GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
|
||||
GenericValue SRC = getOperandValue(I->getPointerOperand(), SF);
|
||||
PointerTy SrcPtr = SRC.PointerVal;
|
||||
|
||||
GenericValue Result;
|
||||
@ -807,7 +807,7 @@ static void executeGEPInst(GetElementPtrInst *I, ExecutionContext &SF) {
|
||||
}
|
||||
|
||||
static void executeLoadInst(LoadInst *I, ExecutionContext &SF) {
|
||||
GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
|
||||
GenericValue SRC = getOperandValue(I->getPointerOperand(), SF);
|
||||
PointerTy SrcPtr = SRC.PointerVal;
|
||||
PointerTy Offset = getElementOffset(I, 0); // Handle any structure indices
|
||||
SrcPtr += Offset;
|
||||
@ -836,7 +836,7 @@ static void executeLoadInst(LoadInst *I, ExecutionContext &SF) {
|
||||
}
|
||||
|
||||
static void executeStoreInst(StoreInst *I, ExecutionContext &SF) {
|
||||
GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
|
||||
GenericValue SRC = getOperandValue(I->getPointerOperand(), SF);
|
||||
PointerTy SrcPtr = SRC.PointerVal;
|
||||
SrcPtr += getElementOffset(I, 1); // Handle any structure indices
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user