summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar Peter Collingbourne <peter@pcc.me.uk>2012-06-06 20:59:36 +0100
committerGravatar Peter Collingbourne <peter@pcc.me.uk>2012-06-06 20:59:36 +0100
commitb95e58afd363631c417152e41fe819a070464a5e (patch)
tree056cf838e367fd122f56c47f34951701b581096e /Source
parent59e17d09da40d60fa1ec94d27702a8649965a5b2 (diff)
GPUVerify: fix bug which caused us to log accesses at the end of the block, rather than the appropriate place
Diffstat (limited to 'Source')
-rw-r--r--Source/GPUVerify/RaceInstrumenterBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/GPUVerify/RaceInstrumenterBase.cs b/Source/GPUVerify/RaceInstrumenterBase.cs
index a0c4b5f7..7b9dfb38 100644
--- a/Source/GPUVerify/RaceInstrumenterBase.cs
+++ b/Source/GPUVerify/RaceInstrumenterBase.cs
@@ -877,7 +877,7 @@ namespace GPUVerify
logAccessCallCmd.Proc = logProcedure;
- cs.Add(logAccessCallCmd);
+ result.Add(logAccessCallCmd);
}
}
@@ -914,7 +914,7 @@ namespace GPUVerify
logAccessCallCmd.Proc = logProcedure;
- cs.Add(logAccessCallCmd);
+ result.Add(logAccessCallCmd);
addedLogWrite = true;