Skip to content

Commit

Permalink
Remove new limitation that js field access has side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed May 22, 2024
1 parent 9a5135a commit 33b0dd2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dev/core/src/com/google/gwt/dev/jjs/ast/JFieldRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ public boolean hasSideEffects() {
if (hasClinit()) {
return true;
}
if (getField().isJsNative()) {
return false;
}
return instance != null && instance.hasSideEffects();
}

Expand Down

0 comments on commit 33b0dd2

Please sign in to comment.