Fix bug where an uninitialized attribute got used during initialization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2013-03-23 19:58:28 +00:00
parent d51cc43755
commit 760bbb4b83

View file

@ -51,7 +51,7 @@
- initWithMethod:(STCompiledMethod *)newMethod
environment:(STEnvironment *)env
{
if ((self = [super initWithStackSize:[method stackSize]]) != nil)
if ((self = [super initWithStackSize:[newMethod stackSize]]) != nil)
{
unsigned int tempCount;
unsigned int i;