nanojpeg: use absolute IP from trace

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1808 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-10-24 09:58:36 +00:00
parent b167b21de6
commit 892e5f86f0

View File

@ -185,7 +185,7 @@ bool NanoJPEGCampaign::run()
// new EC with experiments: acc->first -- instr, common_mask
// if (reg != RID_EBP && reg != RID_ESI && reg != RID_EDI) {
count_exp += add_experiment_ec(acc->first, instr, 0 /*todo*/, reg, common_mask);
count_exp += add_experiment_ec(acc->first, instr, ev.ip(), reg, common_mask);
// }
// new memory access EC in access cascade
@ -229,7 +229,7 @@ bool NanoJPEGCampaign::run()
if (acc->first <= instr) {
// new EC with known result: acc->first -- instr, common_mask
// if (reg != RID_EBP && reg != RID_ESI && reg != RID_EDI) {
count_known += add_known_ec(acc->first, instr, 0 /*todo*/, reg, common_mask);
count_known += add_known_ec(acc->first, instr, ev.ip(), reg, common_mask);
// }
}