getRegForInlineAsmConstraint wants to use TargetRegisterInfo for
[oota-llvm.git] / lib / Target / NVPTX / NVPTXAllocaHoisting.cpp
index 0f792ec6826eb4162bdac063c3cc66ca8d9b92e7..1f3769601788506e4ae7167e3c4e95c71333cb4e 100644 (file)
@@ -37,7 +37,7 @@ bool NVPTXAllocaHoisting::runOnFunction(Function &function) {
 }
 
 char NVPTXAllocaHoisting::ID = 1;
-RegisterPass<NVPTXAllocaHoisting>
+static RegisterPass<NVPTXAllocaHoisting>
 X("alloca-hoisting", "Hoisting alloca instructions in non-entry "
                      "blocks to the entry block");