From 93689114a580895b9e53757b42df1e2d31d08fb5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Dec 2002 17:18:30 +0000 Subject: [PATCH] Remove think-o assertion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4917 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/InstSelectSimple.cpp | 2 -- lib/Target/X86/X86ISelSimple.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 27c5d061c26..65bfb1c7ed8 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -140,8 +140,6 @@ namespace { BuildMI(BB, X86::MOVir32, 1, Reg).addReg(GV); } else if (Argument *A = dyn_cast(V)) { std::cerr << "ERROR: Arguments not implemented in SimpleInstSel\n"; - } else { - assert(0 && "Don't know how to handle a value of this type!"); } return Reg; diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp index 27c5d061c26..65bfb1c7ed8 100644 --- a/lib/Target/X86/X86ISelSimple.cpp +++ b/lib/Target/X86/X86ISelSimple.cpp @@ -140,8 +140,6 @@ namespace { BuildMI(BB, X86::MOVir32, 1, Reg).addReg(GV); } else if (Argument *A = dyn_cast(V)) { std::cerr << "ERROR: Arguments not implemented in SimpleInstSel\n"; - } else { - assert(0 && "Don't know how to handle a value of this type!"); } return Reg; -- 2.34.1