Skip to content

Commit

Permalink
Fix bug where return-argument gets added to wrapper of pallas require…
Browse files Browse the repository at this point in the history
…s-clause
  • Loading branch information
RobertMensing committed Dec 4, 2024
1 parent ffffac8 commit 7f8fc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rewrite/vct/rewrite/lang/LangLLVMToCol.scala
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ case class LangLLVMToCol[Pre <: Generation](rw: LangSpecificToCol[Pre])
private def getPallasSpecRetArg(
wFunc: LLVMFunctionDefinition[Pre]
): Option[Variable[Post]] = {
if (!wFunc.needsWrapperResultArg) { None }
if (!wFunc.needsWrapperResultArg) { return None }
wFunc.pallasExprWrapperFor match {
case Some(pFunc) =>
Some(
Expand Down

0 comments on commit 7f8fc9d

Please sign in to comment.