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:
4e11245
)
Allow reading dest arrays
author
David Schleef
<ds@schleef.org>
Thu, 2 Apr 2009 23:50:29 +0000
(16:50 -0700)
committer
David Schleef
<ds@schleef.org>
Tue, 7 Apr 2009 03:36:38 +0000
(20:36 -0700)
orc/orcexecutor.c
patch
|
blob
|
history
diff --git
a/orc/orcexecutor.c
b/orc/orcexecutor.c
index
9ca2b9c
..
0f334db
100644
(file)
--- a/
orc/orcexecutor.c
+++ b/
orc/orcexecutor.c
@@
-106,7
+106,8
@@
orc_executor_emulate (OrcExecutor *ex)
} else if (var->vartype == ORC_VAR_TYPE_TEMP) {
/* FIXME shouldn't store executor stuff in program */
opcode_ex.src_values[k] = var->value;
- } else if (var->vartype == ORC_VAR_TYPE_SRC) {
+ } else if (var->vartype == ORC_VAR_TYPE_SRC ||
+ var->vartype == ORC_VAR_TYPE_DEST) {
void *ptr = ex->arrays[insn->src_args[k]] + var->size*i;
switch (var->size) {