diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-14 17:55:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-14 17:55:48 +0000 |
commit | 29e4bdbf27c5f03b12dd2bc41d9ccb0d5f3dfdf4 (patch) | |
tree | d5a822443938fb4586d9013fa86f1549cde285cb /lib/Target/ARM/ARMISelLowering.cpp | |
parent | 3541af73b6b8a083cf2d7784438d60e8bcce3883 (diff) |
Fix const-correctness issues with the SrcValue handling in the
memory intrinsic expansion code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 0095352c41..6a581f715f 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -1247,8 +1247,8 @@ ARMTargetLowering::EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDOperand Dst, SDOperand Src, SDOperand Size, unsigned Align, bool AlwaysInline, - Value *DstSV, uint64_t DstOff, - Value *SrcSV, uint64_t SrcOff){ + const Value *DstSV, uint64_t DstOff, + const Value *SrcSV, uint64_t SrcOff){ // Do repeated 4-byte loads and stores. To be improved. // This requires 4-byte alignment. if ((Align & 3) != 0) |