diff options
-rw-r--r-- | llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp index c3f0f278714..73d9b3dedad 100644 --- a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp +++ b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp @@ -176,10 +176,10 @@ void WebAssemblyInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, if (Info.OperandType == WebAssembly::OPERAND_F32IMM) { // TODO: MC converts all floating point immediate operands to double. // This is fine for numeric values, but may cause NaNs to change bits. - O << toString(APFloat(float(Op.getFPImm()))); + O << ::toString(APFloat(float(Op.getFPImm()))); } else { assert(Info.OperandType == WebAssembly::OPERAND_F64IMM); - O << toString(APFloat(Op.getFPImm())); + O << ::toString(APFloat(Op.getFPImm())); } } else { assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || |