Fixed bogus placement allocation
git-svn-id: svn://10.0.0.236/trunk@143370 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user