From 1cb9d0327a983cdfe19c29a1cbc5f119049901eb Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 5 May 2008 19:17:29 -0600 Subject: [PATCH] initialize body of exception handler table for GC safety --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 57b2966b1c..940dbcb956 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -3627,7 +3627,7 @@ translateExceptionHandlerTable(MyThread* t, Compiler* c, object code, object newIndex = makeIntArray(t, length * 3, false); PROTECT(t, newIndex); - object newTable = makeArray(t, length + 1, false); + object newTable = makeArray(t, length + 1, true); PROTECT(t, newTable); set(t, newTable, ArrayBody, newIndex);