summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64/ARM64FastISel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-25 05:30:21 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-25 05:30:21 +0000
commit062a2baef02b0f2ed21aa5c5d61460ac02d2880b (patch)
treeb5036bb342cded5422fa4d432562959b3be5086b /llvm/lib/Target/ARM64/ARM64FastISel.cpp
parentf40110f4d80436071213ed7fcbe367d64aa52c71 (diff)
downloadbcm5719-llvm-062a2baef02b0f2ed21aa5c5d61460ac02d2880b.tar.gz
bcm5719-llvm-062a2baef02b0f2ed21aa5c5d61460ac02d2880b.zip
[C++] Use 'nullptr'. Target edition.
llvm-svn: 207197
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64FastISel.cpp')
-rw-r--r--llvm/lib/Target/ARM64/ARM64FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64FastISel.cpp b/llvm/lib/Target/ARM64/ARM64FastISel.cpp
index ffd56adbf20..459c48030f4 100644
--- a/llvm/lib/Target/ARM64/ARM64FastISel.cpp
+++ b/llvm/lib/Target/ARM64/ARM64FastISel.cpp
@@ -303,7 +303,7 @@ unsigned ARM64FastISel::TargetMaterializeConstant(const Constant *C) {
// Computes the address to get to an object.
bool ARM64FastISel::ComputeAddress(const Value *Obj, Address &Addr) {
- const User *U = NULL;
+ const User *U = nullptr;
unsigned Opcode = Instruction::UserOp1;
if (const Instruction *I = dyn_cast<Instruction>(Obj)) {
// Don't walk into other basic blocks unless the object is an alloca from
@@ -1281,7 +1281,7 @@ bool ARM64FastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
}
bool ARM64FastISel::SelectCall(const Instruction *I,
- const char *IntrMemName = 0) {
+ const char *IntrMemName = nullptr) {
const CallInst *CI = cast<CallInst>(I);
const Value *Callee = CI->getCalledValue();
OpenPOWER on IntegriCloud