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.
This commit is contained in:
Joel Dice 2010-06-24 19:09:50 -06:00
parent 3018290238
commit 3e304521d0

View File

@ -7242,6 +7242,7 @@ class MyProcessor: public Processor {
rewindMethod(0),
bootImage(0),
codeAllocator(s, 0, 0),
callTableSize(0),
useNativeFeatures(useNativeFeatures)
{ }