Skip to content

Commit

Permalink
Merge pull request #72 from anba/bug-778422
Browse files Browse the repository at this point in the history
Patch for Bug 778422
  • Loading branch information
hns committed Aug 7, 2012
2 parents 7fdd02a + b167ecf commit 086b4ba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/mozilla/javascript/CodeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ private void visitExpression(Node node, int contextFlags)
}
int callType = node.getIntProp(Node.SPECIALCALL_PROP,
Node.NON_SPECIALCALL);
if (callType != Node.NON_SPECIALCALL) {
if (type != Token.REF_CALL && callType != Node.NON_SPECIALCALL) {
// embed line number and source filename
addIndexOp(Icode_CALLSPECIAL, argCount);
addUint8(callType);
Expand Down
1 change: 1 addition & 0 deletions testsrc/opt-1.tests
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,7 @@ js1_5/Regress/regress-315990.js
js1_5/Regress/regress-317476.js
js1_5/Regress/regress-317714-02.js
js1_5/Regress/regress-319384.js
js1_5/Regress/regress-319391.js
js1_5/Regress/regress-320032.js
js1_5/Regress/regress-321757.js
js1_5/Regress/regress-321874.js
Expand Down
1 change: 1 addition & 0 deletions testsrc/opt0.tests
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ js1_5/Regress/regress-315990.js
js1_5/Regress/regress-317476.js
js1_5/Regress/regress-317714-02.js
js1_5/Regress/regress-319384.js
js1_5/Regress/regress-319391.js
js1_5/Regress/regress-320032.js
js1_5/Regress/regress-321757.js
js1_5/Regress/regress-321874.js
Expand Down
1 change: 1 addition & 0 deletions testsrc/opt9.tests
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ js1_5/Regress/regress-315990.js
js1_5/Regress/regress-317476.js
js1_5/Regress/regress-317714-02.js
js1_5/Regress/regress-319384.js
js1_5/Regress/regress-319391.js
js1_5/Regress/regress-320032.js
js1_5/Regress/regress-321757.js
js1_5/Regress/regress-321874.js
Expand Down

0 comments on commit 086b4ba

Please sign in to comment.