[pypy-commit] stmgc rewind_setjmp: Fix demo_simple

arigo noreply at buildbot.pypy.org
Sat Aug 9 17:43:51 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: rewind_setjmp
Changeset: r1283:52742cabf3a2
Date: 2014-08-09 17:43 +0200
http://bitbucket.org/pypy/stmgc/changeset/52742cabf3a2/

Log:	Fix demo_simple

diff --git a/c7/demo/demo_simple.c b/c7/demo/demo_simple.c
--- a/c7/demo/demo_simple.c
+++ b/c7/demo/demo_simple.c
@@ -41,12 +41,20 @@
 
 void stmcb_commit_soon() {}
 
+void stmcb_trace_cards(struct object_s *obj, void cb(object_t **),
+                       uintptr_t start, uintptr_t stop) {
+    abort();
+}
+void stmcb_get_card_base_itemsize(struct object_s *obj,
+                                  uintptr_t offset_itemsize[2]) {
+    abort();
+}
 
 
 static sem_t done;
 
 static __thread int tl_counter = 0;
-static int gl_counter = 0;
+//static int gl_counter = 0;
 
 void *demo2(void *arg)
 {


More information about the pypy-commit mailing list