From d934cb8806dbddcbdf70fadf9b125af626fbcac3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 24 Feb 2017 23:18:00 +0000 Subject: [WebAssembly] Basic support for Wasm object file encoding. With the "wasm32-unknown-unknown-wasm" triple, this allows writing out simple wasm object files, and is another step in a larger series toward migrating from ELF to general wasm object support. Note that this code and the binary format itself is still experimental. llvm-svn: 296190 --- llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h') diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h b/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h index eb114403d14..cccc96152f2 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h @@ -27,6 +27,7 @@ bool isArgument(const MachineInstr &MI); bool isCopy(const MachineInstr &MI); bool isTee(const MachineInstr &MI); bool isChild(const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI); +bool isCallIndirect(const MachineInstr &MI); } // end namespace WebAssembly } // end namespace llvm -- cgit v1.2.3