aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-08-14 12:24:35 +0200
committerSverker Eriksson <[email protected]>2012-08-14 14:27:46 +0200
commitb163b5e9d80861272a9b1253e48175cc31294378 (patch)
tree1b54ed5dd85bf6534b8d4945fdee7d32faf7cedf /erts
parent10284487779ec3bf3656926d6692c6a9f38be81c (diff)
downloadotp-b163b5e9d80861272a9b1253e48175cc31294378.tar.gz
otp-b163b5e9d80861272a9b1253e48175cc31294378.tar.bz2
otp-b163b5e9d80861272a9b1253e48175cc31294378.zip
Make ETS compile with #define DEBUG_CLONE
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_db_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db_util.c b/erts/emulator/beam/erl_db_util.c
index c2f6cfa933..1aa0cb4552 100644
--- a/erts/emulator/beam/erl_db_util.c
+++ b/erts/emulator/beam/erl_db_util.c
@@ -2995,7 +2995,7 @@ Eterm db_copy_from_comp(DbTableCommon* tb, DbTerm* bp, Eterm** hpp,
}
ASSERT((*hpp - hp) <= bp->size);
#ifdef DEBUG_CLONE
- ASSERT(eq_rel(make_tuple(hp),make_tuple(bp->debug_clone),bp->debug_clone));
+ ASSERT(eq_rel(make_tuple(hp),NULL,make_tuple(bp->debug_clone),bp->debug_clone));
#endif
return make_tuple(hp);
}
@@ -3018,7 +3018,7 @@ Eterm db_copy_element_from_ets(DbTableCommon* tb, Process* p,
hp += extra;
HRelease(p, endp, hp);
#ifdef DEBUG_CLONE
- ASSERT(eq_rel(copy, obj->debug_clone[pos], obj->debug_clone));
+ ASSERT(eq_rel(copy, NULL, obj->debug_clone[pos], obj->debug_clone));
#endif
return copy;
}