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

Unified Diff: lib/Target/ARM/MCTargetDesc/ARMMCNaCl.h

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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/ARM/MCTargetDesc/ARMMCAsmInfo.cpp ('k') | lib/Target/ARM/MCTargetDesc/ARMMCNaCl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/ARM/MCTargetDesc/ARMMCNaCl.h
diff --git a/lib/Target/ARM/MCTargetDesc/ARMMCNaCl.h b/lib/Target/ARM/MCTargetDesc/ARMMCNaCl.h
new file mode 100644
index 0000000000000000000000000000000000000000..2fdcd561301d87b02490c041377efda7ecdb746d
--- /dev/null
+++ b/lib/Target/ARM/MCTargetDesc/ARMMCNaCl.h
@@ -0,0 +1,32 @@
+//===-- ARMMCNaCl.h - Prototype for CustomExpandInstNaClARM ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ARMMCNACL_H
+#define ARMMCNACL_H
+#include "llvm/MC/MCInst.h"
+
+namespace llvm {
+
+class MCStreamer;
+class MCSubtargetInfo;
+
+class ARMMCNaClSFIState {
+public:
+ static const int MaxSaved = 4;
+ MCInst Saved[MaxSaved];
+ int SaveCount;
+ int I;
+ bool RecursiveCall;
+};
+
+bool CustomExpandInstNaClARM(const MCSubtargetInfo &STI, const MCInst &Inst,
+ MCStreamer &Out, ARMMCNaClSFIState &State);
+}
+
+#endif
« no previous file with comments | « lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp ('k') | lib/Target/ARM/MCTargetDesc/ARMMCNaCl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698