(source: &str)
| 10738 | } |
| 10739 | |
| 10740 | fn compile_exec_optimized(source: &str) -> CodeObject { |
| 10741 | let opts = CompileOpts { |
| 10742 | optimize: 1, |
| 10743 | ..CompileOpts::default() |
| 10744 | }; |
| 10745 | compile_exec_with_options(source, opts) |
| 10746 | } |
| 10747 | |
| 10748 | fn compile_exec_with_options(source: &str, opts: CompileOpts) -> CodeObject { |
| 10749 | let source_file = SourceFileBuilder::new("source_path", source).finish(); |