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:
1151160
)
orcfunctions: update generated code
author
David Schleef
<ds@schleef.org>
Mon, 3 Oct 2011 03:26:32 +0000
(20:26 -0700)
committer
David Schleef
<ds@schleef.org>
Mon, 3 Oct 2011 03:26:32 +0000
(20:26 -0700)
orc/orcfunctions.c
patch
|
blob
|
history
diff --git
a/orc/orcfunctions.c
b/orc/orcfunctions.c
index
2933929
..
dbe0b7d
100644
(file)
--- 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 *);