summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-08-24 22:16:48 +0000
committerJF Bastien <jfb@google.com>2015-08-24 22:16:48 +0000
commitaf111db8af5e2ec7bfc9afa6b6e0f285129f0624 (patch)
tree482845bc029a40c8284c9f78981f67889cbbc24d /llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
parent19c2e6634de882c2f146d278b49adb2952d7d104 (diff)
downloadbcm5719-llvm-af111db8af5e2ec7bfc9afa6b6e0f285129f0624.tar.gz
bcm5719-llvm-af111db8af5e2ec7bfc9afa6b6e0f285129f0624.zip
WebAssembly: Implement call
Summary: Support function calls. Reviewers: sunfish, sunfishcode Subscribers: sunfishcode, jfb, llvm-commits Differential revision: http://reviews.llvm.org/D12219 llvm-svn: 245887
Diffstat (limited to 'llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h')
-rw-r--r--llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
index 4c54a525577..80fe29d56f7 100644
--- a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
+++ b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
@@ -32,6 +32,9 @@ public:
void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot,
const MCSubtargetInfo &STI) override;
+ // Used by tblegen code.
+ void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
+
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);
OpenPOWER on IntegriCloud