mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +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) {
|
static std::unique_ptr<FunctionAST> ParseTopLevelExpr(unsigned ExprCount) {
|
||||||
if (auto E = ParseExpression()) {
|
if (auto E = ParseExpression()) {
|
||||||
// Make an anonymous proto.
|
// 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>());
|
("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
|
||||||
return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
|
return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user