| 615 | } |
| 616 | |
| 617 | bool Program::getOptimize() const { |
| 618 | if ( policies.no_optimizations ) return false; |
| 619 | auto arg = options.find("optimize",Type::tBool); |
| 620 | if ( arg ) return arg->bValue; |
| 621 | arg = options.find("no_optimization",Type::tBool); |
| 622 | if ( arg ) return !arg->bValue; |
| 623 | return true; |
| 624 | } |
| 625 | |
| 626 | bool Program::getDebugger() const { |
| 627 | return policies.debugger || options.getBoolOption("debugger",false); |
no test coverage detected