diff options
author | Andrzej Janik <[email protected]> | 2024-08-31 03:42:27 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2024-08-31 03:42:27 +0200 |
commit | 0c9339325e693a383769533e0d6a9f8795689a70 (patch) | |
tree | 070b92c1604d818512bb8a09e35296f6184abb3c | |
parent | aebf06a8c544cd8a1af8f4107be30313ab5a385f (diff) | |
download | ZLUDA-0c9339325e693a383769533e0d6a9f8795689a70.tar.gz ZLUDA-0c9339325e693a383769533e0d6a9f8795689a70.zip |
Correctly report dst in call instructions
-rw-r--r-- | ptx_parser/src/ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ptx_parser/src/ast.rs b/ptx_parser/src/ast.rs index 39b464e..2a6bb53 100644 --- a/ptx_parser/src/ast.rs +++ b/ptx_parser/src/ast.rs @@ -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(())
}
@@ -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(())
}
@@ -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,
|