mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
[BuildingAJIT] Fixing the build by inserting a forgotten paren.
llvm-svn: 346730
This commit is contained in:
parent
f0df5312fa
commit
23efec9b2e
@ -679,7 +679,7 @@ static std::unique_ptr<FunctionAST> ParseDefinition() {
|
||||
static std::unique_ptr<FunctionAST> ParseTopLevelExpr(unsigned ExprCount) {
|
||||
if (auto E = ParseExpression()) {
|
||||
// Make an anonymous proto.
|
||||
auto Proto = llvm::make_unique<PrototypeAST>
|
||||
auto Proto = llvm::make_unique<PrototypeAST>(
|
||||
("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
|
||||
return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user