X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FUse.cpp;h=0c566a9cb70aa3a25cfbe1cb6d3532b514da3227;hb=b5bd026a756d8650f2a94607c9b1dc34cf1c024a;hp=c44c17f55e5f15de84134934ff6edb2aaf1b3cce;hpb=84fb959489a07f032208deb8bf32776867aaeab2;p=oota-llvm.git diff --git a/lib/VMCore/Use.cpp b/lib/VMCore/Use.cpp index c44c17f55e5..0c566a9cb70 100644 --- a/lib/VMCore/Use.cpp +++ b/lib/VMCore/Use.cpp @@ -91,7 +91,9 @@ Use *Use::initTags(Use * const Start, Use *Stop, ptrdiff_t Done) { --Stop; Stop->Val = 0; if (!Count) { - Stop->Prev.setFromOpaqueValue(reinterpret_cast(Done == 0 ? fullStopTag : stopTag)); + Stop->Prev.setFromOpaqueValue(reinterpret_cast(Done == 0 + ? fullStopTag + : stopTag)); ++Done; Count = Done; } else { @@ -138,7 +140,8 @@ struct AugmentedUse : Use { User *Use::getUser() const { const Use *End = getImpliedUser(); - PointerIntPair& ref(static_cast(End - 1)->ref); + const PointerIntPair& ref( + static_cast(End - 1)->ref); User *She = ref.getPointer(); return ref.getInt() ? She