Fixed bogus placement allocation

git-svn-id: svn://10.0.0.236/trunk@143370 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-06-05 22:50:13 +00:00
parent 7930ea2b78
commit 94f2bb8a61
2 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ namespace MetaData {
defineHoistedVar(env, pb->name, JS2VAL_UNDEFINED, true, pos);
}
else {
FrameVariable *v = new (this) FrameVariable(result->fWrap->compileFrame->allocateSlot(), FrameVariable::Parameter);
FrameVariable *v = new FrameVariable(result->fWrap->compileFrame->allocateSlot(), FrameVariable::Parameter);
pb->member = v;
defineLocalMember(env, pb->name, NULL, Attribute::NoOverride, false, ReadWriteAccess, v, pb->pos, true);
}