Closure not working... And fixed Math.random initialization.

This commit is contained in:
rogerl%netscape.com 2003-05-16 23:25:23 +00:00
Родитель 22da0c6719
Коммит e0252b4956
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -3838,6 +3838,7 @@ static const uint8 urlCharType[256] =
showTrees(false),
referenceArena(NULL)
{
rngInitialized = false;
engine->meta = this;
cxt.openNamespaces.clear();

Просмотреть файл

@ -102,7 +102,7 @@
FunctionInstance *x = checked_cast<FunctionInstance *>(bCon->mObjectList[BytecodeContainer::getShort(pc)]);
pc += sizeof(short);
x->fWrap->env = new Environment(meta->env);
// x->fWrap->env = new Environment(meta->env);
/*
// For each active plural frame in the function definition environment, we need
// to find it's current singular counterpart and use that as the dohickey