Return ConstantVector to 2.5 API.
llvm-svn: 77366
This commit is contained in:
@@ -101,7 +101,7 @@ Value *llvm::MapValue(const Value *V, ValueMapTy &VM, LLVMContext &Context) {
|
||||
Values.push_back(cast<Constant>(MV));
|
||||
for (++i; i != e; ++i)
|
||||
Values.push_back(cast<Constant>(MapValue(*i, VM, Context)));
|
||||
return VM[V] = Context.getConstantVector(Values);
|
||||
return VM[V] = ConstantVector::get(Values);
|
||||
}
|
||||
}
|
||||
return VM[V] = C;
|
||||
|
||||
Reference in New Issue
Block a user