X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FMC%2FMCDwarf.h;h=88fee2f8cc5036ca75b075ad0e7a156ee3ffd497;hp=6cd9a9a21e21af6beaacfc356bc138703a00d323;hb=24ae56d4c97fe85345481e16329684a947e62c5b;hpb=7ee57ccbc603e74b38e745304694cbb643f4b9f9 diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h index 6cd9a9a21e2..88fee2f8cc5 100644 --- a/include/llvm/MC/MCDwarf.h +++ b/include/llvm/MC/MCDwarf.h @@ -457,7 +457,7 @@ public: return Offset; } - const StringRef getValues() const { + StringRef getValues() const { assert(Operation == OpEscape); return StringRef(&Values[0], Values.size()); }