mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-06 16:19:29 +00:00
Correctly report dst in call instructions
This commit is contained in:
parent
aebf06a8c5
commit
0c9339325e
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue