mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-01 22:53:29 +00:00
[BuildingAJIT] Fixing the build by inserting a forgotten paren.
llvm-svn: 346730
This commit is contained in:
parent
65051c83b9
commit
c9aef8cd0e
@ -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…
x
Reference in New Issue
Block a user