зеркало из https://github.com/mozilla/pjs.git
Fixing bug 257423: the code generation was not updated to use ScriptRuntime.getObjedctProp instead of OptRuntime.thisGet.
This commit is contained in:
Родитель
6499857441
Коммит
a75cbc9182
|
@ -3647,12 +3647,12 @@ Else pass the JS object in the aReg and 0.0 in the dReg.
|
|||
if (objectChild.getType() == Token.THIS
|
||||
&& nameChild.getType() == Token.STRING)
|
||||
{
|
||||
cfw.addALoad(variableObjectLocal);
|
||||
addOptRuntimeInvoke(
|
||||
"thisGet",
|
||||
cfw.addALoad(contextLocal);
|
||||
addScriptRuntimeInvoke(
|
||||
"getObjectProp",
|
||||
"(Lorg/mozilla/javascript/Scriptable;"
|
||||
+"Ljava/lang/String;"
|
||||
+"Lorg/mozilla/javascript/Scriptable;"
|
||||
+"Lorg/mozilla/javascript/Context;"
|
||||
+")Ljava/lang/Object;");
|
||||
} else {
|
||||
cfw.addALoad(contextLocal);
|
||||
|
|
Загрузка…
Ссылка в новой задаче