projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d21f2
)
change
author
bdemsky
<bdemsky>
Wed, 14 Oct 2009 08:15:51 +0000
(08:15 +0000)
committer
bdemsky
<bdemsky>
Wed, 14 Oct 2009 08:15:51 +0000
(08:15 +0000)
Robust/src/Runtime/STM/stm.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/STM/stm.c
b/Robust/src/Runtime/STM/stm.c
index 76e6ac7206b330fc22e60da9fd7e4bb6d9cbb3ff..0db8e33ce4ed948804df36465cec9db45cf6331c 100644
(file)
--- a/
Robust/src/Runtime/STM/stm.c
+++ b/
Robust/src/Runtime/STM/stm.c
@@
-203,7
+203,7
@@
void *transRead(void * oid, void *gl) {
#ifdef STMARRAY
//caller needs to mark data as present
void arraycopy(struct ArrayObject *oid, int byteindex) {
- struct ArrayObject * orig=oid->___objlocation___;
+ struct ArrayObject * orig=
(struct ArrayObject *)
oid->___objlocation___;
int baseoffset=byteindex&HIGHMASK;
A_memcpy(((char *)&oid[1])+baseoffset, ((char *)&orig[1])+baseoffset, INDEXLENGTH);
if (oid->lowoffset>baseoffset)