diff options
author | Sam Clegg <sbc@chromium.org> | 2019-04-03 00:17:29 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-04-03 00:17:29 +0000 |
commit | ef4c66c1c83bbb58643c66b4e290a56e9991d5ca (patch) | |
tree | e125825662252315b073f6f8d392a9922191b1fa /llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h | |
parent | 4c1581e2da81d640c019c2d9a6618db9eb4e471e (diff) | |
download | bcm5719-llvm-ef4c66c1c83bbb58643c66b4e290a56e9991d5ca.tar.gz bcm5719-llvm-ef4c66c1c83bbb58643c66b4e290a56e9991d5ca.zip |
[WebAssembly] Remove unneeded target operand flags
This change is in preparation for the addition of new target
operand flags for new relocation types. Have a symbol type as part
of the flag set makes it harder to use and AFAICT these are serving
no purpose.
Differential Revision: https://reviews.llvm.org/D60014
llvm-svn: 357548
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h b/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h index 125ba1dcfa5..2c375a01a7f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h @@ -32,8 +32,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, - unsigned flags) const; + MCOperand lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; public: WebAssemblyMCInstLower(MCContext &ctx, WebAssemblyAsmPrinter &printer) |