commit | e408a89a3aa83acb97f22d7d51ab341c22c6e05c | [log] [tgz] |
---|---|---|
author | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | Fri Aug 03 14:33:37 2018 +0000 |
committer | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | Fri Aug 03 14:33:37 2018 +0000 |
tree | 6b829861c534d9dc48c4940345183f528fe1c081 | |
parent | 873de9866119754dab9146026f357a27bb1d5e26 [diff] [blame] |
[WebAssembly] Cleanup of the way globals and global flags are handled Differential Revision: https://reviews.llvm.org/D44030 llvm-svn: 338894
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 9550276..aa3c0d0 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -871,7 +871,7 @@ // functions. return DAG.getNode(WebAssemblyISD::Wrapper, DL, VT, DAG.getTargetExternalSymbol(ES->getSymbol(), VT, - /*TargetFlags=*/0x1)); + WebAssemblyII::MO_SYMBOL_FUNCTION)); } SDValue WebAssemblyTargetLowering::LowerJumpTable(SDValue Op,