Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338980
b: refs/heads/master
c: 2ba34aa
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Nov 9, 2012
1 parent 08b6293 commit 0bc6cd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12f8f74b2a4d26c4facfa7ef99487cf0930f6ef7
refs/heads/master: 2ba34aaa6db8b61cf1fa14132f885ba6bc7c9ae0
14 changes: 7 additions & 7 deletions trunk/tools/perf/util/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ static int lock__parse(struct ins_operands *ops)
if (disasm_line__parse(ops->raw, &name, &ops->locked.ops->raw) < 0)
goto out_free_ops;

ops->locked.ins = ins__find(name);
if (ops->locked.ins == NULL)
goto out_free_ops;
ops->locked.ins = ins__find(name);
if (ops->locked.ins == NULL)
goto out_free_ops;

if (!ops->locked.ins->ops)
return 0;
if (!ops->locked.ins->ops)
return 0;

if (ops->locked.ins->ops->parse)
ops->locked.ins->ops->parse(ops->locked.ops);
if (ops->locked.ins->ops->parse)
ops->locked.ins->ops->parse(ops->locked.ops);

return 0;

Expand Down

0 comments on commit 0bc6cd6

Please sign in to comment.