diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 12:34:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 12:34:55 -0800 |
commit | c7e19b82f3cb7a9be1bd9a4eeaa72e31253ecee7 (patch) | |
tree | 5da538cb66b8a9adb73632dbfd89f08827f45295 | |
parent | 9b61c432ec25cb55314b5cf0f45047aabee606b1 (diff) |
deprecate toy gc impl
-rw-r--r-- | src/library_gc.js | 2 | ||||
-rw-r--r-- | system/include/gc.h | 2 | ||||
-rw-r--r-- | tests/test_browser.py | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/library_gc.js b/src/library_gc.js index b3dae0e9..d86f2d15 100644 --- a/src/library_gc.js +++ b/src/library_gc.js @@ -1,4 +1,6 @@ +// WARNING: this is deprecated. You should just build Boehm from source, it is much faster than the toy version written in emscripten + if (GC_SUPPORT) { EXPORTED_FUNCTIONS['_calloc'] = 1; EXPORTED_FUNCTIONS['_realloc'] = 1; diff --git a/system/include/gc.h b/system/include/gc.h index a21fd410..affa615f 100644 --- a/system/include/gc.h +++ b/system/include/gc.h @@ -1,5 +1,7 @@ /* * Boehm-compatible GC API + * + * WARNING: this is deprecated. You should just build Boehm from source, it is much faster than the toy version written in emscripten */ #ifndef _GC_H_INCLUDED #define _GC_H_INCLUDED diff --git a/tests/test_browser.py b/tests/test_browser.py index 1eddc846..608aed05 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1490,11 +1490,6 @@ keydown(100);keyup(100); // trigger the end def test_sdl_resize(self): self.btest('sdl_resize.c', '1') - def test_gc(self): - if os.environ.get('EMCC_FAST_COMPILER') != '0': return self.skip('flaky in fastcomp and also non-fastcomp -O1, timing issues') - - self.btest('browser_gc.cpp', '1') - def test_glshaderinfo(self): self.btest('glshaderinfo.cpp', '1') |