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:
fdb8510
)
compile fix
author
David Schleef
<ds@schleef.org>
Thu, 16 Apr 2009 23:18:21 +0000
(16:18 -0700)
committer
David Schleef
<ds@schleef.org>
Tue, 26 May 2009 23:56:20 +0000
(16:56 -0700)
orc/orcprogram-neon.c
patch
|
blob
|
history
diff --git
a/orc/orcprogram-neon.c
b/orc/orcprogram-neon.c
index
53882c7
..
c78eeda
100644
(file)
--- a/
orc/orcprogram-neon.c
+++ b/
orc/orcprogram-neon.c
@@
-158,7
+158,9
@@
void
neon_load_constants (OrcCompiler *compiler)
{
int i;
- for(i=0;i<compiler->n_vars;i++){
+ for(i=0;i<ORC_N_VARIABLES;i++){
+ if (compiler->vars[i].name == NULL) continue;
+
switch (compiler->vars[i].vartype) {
case ORC_VAR_TYPE_CONST:
if (compiler->vars[i].size == 1) {