projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ab0a0
)
fix orc_target_rule_get
author
David Schleef
<ds@schleef.org>
Sat, 28 Mar 2009 06:57:46 +0000
(23:57 -0700)
committer
David Schleef
<ds@schleef.org>
Sat, 28 Mar 2009 07:06:19 +0000
(
00:06
-0700)
orc/orcopcodes.c
patch
|
blob
|
history
diff --git
a/orc/orcopcodes.c
b/orc/orcopcodes.c
index
5264859
..
cc019ee
100644
(file)
--- a/
orc/orcopcodes.c
+++ b/
orc/orcopcodes.c
@@
-134,7
+134,7
@@
orc_target_get_rule (OrcTarget *target, OrcStaticOpcode *opcode)
for(i=0;i<target->n_rule_sets;i++){
rule = target->rule_sets[i].rules + j;
- if (rule) return rule;
+ if (rule
->emit
) return rule;
}
return NULL;