summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
diff options
context:
space:
mode:
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-08-03 14:33:37 +0000
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-08-03 14:33:37 +0000
commite408a89a3aa83acb97f22d7d51ab341c22c6e05c (patch)
tree6b829861c534d9dc48c4940345183f528fe1c081 /llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
parent873de9866119754dab9146026f357a27bb1d5e26 (diff)
downloadbcm5719-llvm-e408a89a3aa83acb97f22d7d51ab341c22c6e05c.tar.gz
bcm5719-llvm-e408a89a3aa83acb97f22d7d51ab341c22c6e05c.zip
[WebAssembly] Cleanup of the way globals and global flags are handled
Differential Revision: https://reviews.llvm.org/D44030 llvm-svn: 338894
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h b/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
index 41b4313bb38..3a9d52b1c8c 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
@@ -34,7 +34,7 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyMCInstLower {
MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
MCOperand LowerSymbolOperand(MCSymbol *Sym, int64_t Offset,
- bool IsFunc) const;
+ bool IsFunc, bool IsGlob) const;
public:
WebAssemblyMCInstLower(MCContext &ctx, WebAssemblyAsmPrinter &printer)
OpenPOWER on IntegriCloud