| 204 | |
| 205 | struct ExitNodeType : NodeType { |
| 206 | ExitNodeType(LangModule& mod, std::vector<NamedDataType> dataOutputs, |
| 207 | std::vector<std::string> execOutputs) |
| 208 | : NodeType{mod, "exit", "Return from a function"} { |
| 209 | // outputs to the function are inputs to the node |
| 210 | setExecInputs(std::move(execOutputs)); |
| 211 | |
| 212 | setDataInputs(std::move(dataOutputs)); |
| 213 | } |
| 214 | |
| 215 | Result codegen( |
| 216 | size_t execInputID, const llvm::DebugLoc& nodeLocation, const std::vector<llvm::Value*>& io, |
nothing calls this directly
no outgoing calls
no test coverage detected