From 3e304521d0aae67b760e9fa44de9f5abcb06a38a Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 24 Jun 2010 19:09:50 -0600 Subject: [PATCH] initialize MyProcessor::callTableSize in constructor This field was being used uninitialized, which could lead to an out of memory condition when we tried to grow the call table to a ridiculous size. --- src/compile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compile.cpp b/src/compile.cpp index b9dce69505..ca5542349a 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -7242,6 +7242,7 @@ class MyProcessor: public Processor { rewindMethod(0), bootImage(0), codeAllocator(s, 0, 0), + callTableSize(0), useNativeFeatures(useNativeFeatures) { }