summaryrefslogtreecommitdiff
path: root/lib/Target/PTX/PTXMCAsmStreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PTX/PTXMCAsmStreamer.cpp')
-rw-r--r--lib/Target/PTX/PTXMCAsmStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PTX/PTXMCAsmStreamer.cpp b/lib/Target/PTX/PTXMCAsmStreamer.cpp
index 4925cbfcb9..2e8a12d378 100644
--- a/lib/Target/PTX/PTXMCAsmStreamer.cpp
+++ b/lib/Target/PTX/PTXMCAsmStreamer.cpp
@@ -499,7 +499,7 @@ bool PTXMCAsmStreamer::EmitDwarfFileDirective(unsigned FileNo,
void PTXMCAsmStreamer::AddEncodingComment(const MCInst &Inst) {}
void PTXMCAsmStreamer::EmitInstruction(const MCInst &Inst) {
- assert(getCurrentSection() && "Cannot emit contents before setting section!");
+//assert(getCurrentSection() && "Cannot emit contents before setting section!");
// Show the encoding in a comment if we have a code emitter.
if (Emitter)