diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index 8ccaf309de1..2775a8d24c9 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -273,7 +273,7 @@ bool BytecodeParser::parseConstPoolValue(const uchar *&Buf, if (SubClass != 0) return failure(true); - V = ConstPoolPointer::getNullPointer(PT); + V = ConstPoolPointer::getNull(PT); break; }