mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Changed to dump llvm assembly code to standard output
This commit is contained in:
parent
c84cdd1645
commit
5664d917dc
@ -534,7 +534,7 @@ struct LLVM {
|
|||||||
compile(ast);
|
compile(ast);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dump() { module_->print(llvm::errs(), nullptr); }
|
void dump() { module_->print(llvm::outs(), nullptr); }
|
||||||
|
|
||||||
void exec() {
|
void exec() {
|
||||||
unique_ptr<ExecutionEngine> ee(EngineBuilder(std::move(module_)).create());
|
unique_ptr<ExecutionEngine> ee(EngineBuilder(std::move(module_)).create());
|
||||||
|
Loading…
Reference in New Issue
Block a user