diff options
Diffstat (limited to 'include/llvm/MC/MCDwarf.h')
-rw-r--r-- | include/llvm/MC/MCDwarf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h index 8fc437f3e6..6fa41ae67c 100644 --- a/include/llvm/MC/MCDwarf.h +++ b/include/llvm/MC/MCDwarf.h @@ -267,7 +267,7 @@ namespace llvm { class MCCFIInstruction { public: enum OpType { SameValue, RememberState, RestoreState, Move, RelMove, Escape, - Restore}; + Restore, Undefined }; private: OpType Operation; MCSymbol *Label; @@ -282,7 +282,7 @@ namespace llvm { } MCCFIInstruction(OpType Op, MCSymbol *L, unsigned Register) : Operation(Op), Label(L), Destination(Register) { - assert(Op == SameValue || Op == Restore); + assert(Op == SameValue || Op == Restore || Op == Undefined); } MCCFIInstruction(MCSymbol *L, const MachineLocation &D, const MachineLocation &S) |