diff options
author | David Schleef <ds@schleef.org> | 2011-10-02 20:26:32 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2011-10-02 20:26:32 -0700 |
commit | 2d5a2504ddd3b83c0d7a8ccce5a7a47322283a88 (patch) | |
tree | 781287d15eb5496306c01ceac3f5de226907d2f7 | |
parent | 11511605c963bfd64f04d16f37f0d76a2c05fcd0 (diff) | |
download | orc-2d5a2504ddd3b83c0d7a8ccce5a7a47322283a88.tar.gz |
orcfunctions: update generated code
-rw-r--r-- | orc/orcfunctions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orc/orcfunctions.c b/orc/orcfunctions.c index 2933929..dbe0b7d 100644 --- a/orc/orcfunctions.c +++ b/orc/orcfunctions.c @@ -167,7 +167,7 @@ void orc_memcpy (void * ORC_RESTRICT d1, const void * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; - static int p_inited = 0; + static volatile int p_inited = 0; static OrcCode *c = 0; void (*func) (OrcExecutor *); @@ -255,7 +255,7 @@ void orc_memset (void * ORC_RESTRICT d1, int p1, int n) { OrcExecutor _ex, *ex = &_ex; - static int p_inited = 0; + static volatile int p_inited = 0; static OrcCode *c = 0; void (*func) (OrcExecutor *); |