зеркало из https://github.com/mozilla/gecko-dev.git
Closure not working... And fixed Math.random initialization.
This commit is contained in:
Родитель
22da0c6719
Коммит
e0252b4956
|
@ -3838,6 +3838,7 @@ static const uint8 urlCharType[256] =
|
||||||
showTrees(false),
|
showTrees(false),
|
||||||
referenceArena(NULL)
|
referenceArena(NULL)
|
||||||
{
|
{
|
||||||
|
rngInitialized = false;
|
||||||
engine->meta = this;
|
engine->meta = this;
|
||||||
|
|
||||||
cxt.openNamespaces.clear();
|
cxt.openNamespaces.clear();
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
FunctionInstance *x = checked_cast<FunctionInstance *>(bCon->mObjectList[BytecodeContainer::getShort(pc)]);
|
FunctionInstance *x = checked_cast<FunctionInstance *>(bCon->mObjectList[BytecodeContainer::getShort(pc)]);
|
||||||
pc += sizeof(short);
|
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
|
// 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
|
// to find it's current singular counterpart and use that as the dohickey
|
||||||
|
|
Загрузка…
Ссылка в новой задаче