From: Alexander Kornienko Date: Wed, 23 Sep 2015 15:41:25 +0000 (+0000) Subject: Fix CodeGen/WebAssembly/global.ll test under ASAN. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b2d0e28941e735f912d9e45a6ccc8c852d2647ae;p=oota-llvm.git Fix CodeGen/WebAssembly/global.ll test under ASAN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248388 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp b/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp index 94ea1085ff4..f28d2e60826 100644 --- a/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp +++ b/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp @@ -45,7 +45,7 @@ class WebAssemblyAsmPrinter final : public AsmPrinter { public: WebAssemblyAsmPrinter(TargetMachine &TM, std::unique_ptr Streamer) - : AsmPrinter(TM, std::move(Streamer)), TII(nullptr) {} + : AsmPrinter(TM, std::move(Streamer)), hasAddr64(false), TII(nullptr) {} private: const char *getPassName() const override {