Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp

Issue 1181263004: subclassed MCAsmStreamer (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.h ('k') | lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp
diff --git a/lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp b/lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..18fde9d7e3feb8258dad87fbcd1214aa72a12f19
--- /dev/null
+++ b/lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp
@@ -0,0 +1,7 @@
+#include "X86MCNaClAsmStreamer.h"
+#include "X86MCNaCl.h"
+
+void X86MCNaClAsmStreamer::EmitInstruction (const MCInst &Inst, const MCSubtargetInfo &STI) {
+ if (!CustomExpandInstNaClX86(STI, Inst, *this, State))
+ MCAsmStreamer::EmitInstruction (Inst, STI);
+}
« no previous file with comments | « lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.h ('k') | lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698