Free function wrapper for SimulateVisitor — usable from other translation units.
| 314 | |
| 315 | // Free function wrapper for SimulateVisitor — usable from other translation units. |
| 316 | SimNode * simulateExpression ( Context & context, Expression * expr ) { |
| 317 | SimulateVisitor sv(context); |
| 318 | return sv.simulateExpression(expr); |
| 319 | } |
| 320 | |
| 321 | SimNode * trySimulateExpression ( Context & context, const Expression * expr, uint32_t extraOffset, const TypeDeclPtr & r2vType ) { |
| 322 | SimulateVisitor sv(context); |
no test coverage detected