Remove accident changes

This commit is contained in:
alesapin 2019-01-12 00:18:57 +03:00
parent 00200615e8
commit 748bcb0a3c
2 changed files with 1 additions and 3 deletions

View File

@ -449,8 +449,6 @@ static CompilableExpression subexpression(size_t i)
return [=](llvm::IRBuilderBase &, const ValuePlaceholders & inputs) { return inputs[i](); };
}
static CompilableExpression subexpression(const IFunctionBase & f, std::vector<CompilableExpression> args)
{
return [&, args = std::move(args)](llvm::IRBuilderBase & builder, const ValuePlaceholders & inputs)

View File

@ -25,7 +25,7 @@ class LLVMFunction : public IFunctionBase
DataTypes arg_types;
std::vector<FunctionBasePtr> originals;
std::unordered_map<std::string, CompilableExpression> subexpressions;
std::unordered_map<StringRef, CompilableExpression> subexpressions;
std::unique_ptr<LLVMModuleState> module_state;