Skip to content

Commit

Permalink
Correctly report dst in call instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vosen committed Aug 31, 2024
1 parent aebf06a commit 0c93393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ptx_parser/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ impl<T: Operand> CallArgs<T> {
.iter()
.zip(details.input_arguments.iter())
{
visitor.visit(param, Some((type_, *space)), true, false)?;
visitor.visit(param, Some((type_, *space)), false, false)?;
}
Ok(())
}
Expand All @@ -1280,7 +1280,7 @@ impl<T: Operand> CallArgs<T> {
.iter_mut()
.zip(details.input_arguments.iter())
{
visitor.visit(param, Some((type_, *space)), true, false)?;
visitor.visit(param, Some((type_, *space)), false, false)?;
}
Ok(())
}
Expand All @@ -1304,7 +1304,7 @@ impl<T: Operand> CallArgs<T> {
.input_arguments
.into_iter()
.zip(details.input_arguments.iter())
.map(|(param, (type_, space))| visitor.visit(param, Some((type_, *space)), true, false))
.map(|(param, (type_, space))| visitor.visit(param, Some((type_, *space)), false, false))
.collect::<Result<Vec<_>, _>>()?;
Ok(CallArgs {
return_arguments,
Expand Down

0 comments on commit 0c93393

Please sign in to comment.