mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Fixing bug 257423: the code generation was not updated to use ScriptRuntime.getObjedctProp instead of OptRuntime.thisGet.
This commit is contained in:
parent
fdc578bf14
commit
614804384d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user