| 1111 | }; |
| 1112 | |
| 1113 | bool bodyHasTopLevelReturn ( Expression * body ) { |
| 1114 | HasTopLevelReturnVisitor v; |
| 1115 | body->visit(v); |
| 1116 | return v.found; |
| 1117 | } |
| 1118 | |
| 1119 | ExpressionPtr generateYield( ExprYield * expr, const FunctionPtr & func ) { |
| 1120 | const auto & yarg = func->arguments[1]; |
no test coverage detected