diff --git a/js/rhino/org/mozilla/javascript/IRFactory.java b/js/rhino/org/mozilla/javascript/IRFactory.java index d4e7167bfae..81e0e140e57 100644 --- a/js/rhino/org/mozilla/javascript/IRFactory.java +++ b/js/rhino/org/mozilla/javascript/IRFactory.java @@ -953,6 +953,7 @@ public class IRFactory { case TokenStream.DEC: case TokenStream.SETPROP: case TokenStream.SETELEM: + case TokenStream.SETNAME: case TokenStream.CALL: case TokenStream.NEW: return true; diff --git a/js/rhino/src/org/mozilla/javascript/IRFactory.java b/js/rhino/src/org/mozilla/javascript/IRFactory.java index d4e7167bfae..81e0e140e57 100644 --- a/js/rhino/src/org/mozilla/javascript/IRFactory.java +++ b/js/rhino/src/org/mozilla/javascript/IRFactory.java @@ -953,6 +953,7 @@ public class IRFactory { case TokenStream.DEC: case TokenStream.SETPROP: case TokenStream.SETELEM: + case TokenStream.SETNAME: case TokenStream.CALL: case TokenStream.NEW: return true;