diff options
Diffstat (limited to 'lib/Target/JSBackend/JSBackend.cpp')
-rw-r--r-- | lib/Target/JSBackend/JSBackend.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/JSBackend/JSBackend.cpp b/lib/Target/JSBackend/JSBackend.cpp index 75e4a1a5e7..11abd21f3d 100644 --- a/lib/Target/JSBackend/JSBackend.cpp +++ b/lib/Target/JSBackend/JSBackend.cpp @@ -1226,10 +1226,6 @@ void JSWriter::generateInstruction(const Instruction *I, raw_string_ostream& Cod } break; } - case Instruction::GetElementPtr: { - assert(false && "Unhandled instruction"); - break; - } case Instruction::PHI: { // handled separately - we push them back into the relooper branchings break; @@ -1338,6 +1334,7 @@ void JSWriter::generateInstruction(const Instruction *I, raw_string_ostream& Cod Code << ";"; break; } + case Instruction::Fence: break; // no threads, so nothing to do here } // append debug info if (MDNode *N = I->getMetadata("dbg")) { |