aboutsummaryrefslogtreecommitdiff
path: root/src/library_gc.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-05-15 16:01:35 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-05-15 16:01:35 -0700
commit499ace020e95c574255dc9aa3604db441d54702c (patch)
tree3334d4a3cf31d9c439094aacd284220ecaccb22a /src/library_gc.js
parent8331c32384e33fc865d03acab630759527304451 (diff)
fix test_gc for o1 and o2
Diffstat (limited to 'src/library_gc.js')
-rw-r--r--src/library_gc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gc.js b/src/library_gc.js
index d9bb895b..75cea390 100644
--- a/src/library_gc.js
+++ b/src/library_gc.js
@@ -115,7 +115,7 @@ if (GC_SUPPORT) {
var freeList = [];
for (var ptr in GC.sizes) {
if (!GC.reachable[ptr]) {
- freeList.push(ptr);
+ freeList.push(parseInt(ptr));
}
}
for (var i = 0; i < freeList.length; i++) {