You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/09/12 00:39:00 UTC

(commons-bcel) 01/03: Pull out commons code

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 62001e3fe61cbaf7947764201ff619a17fec9b0f
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Wed Sep 11 20:38:08 2024 -0400

    Pull out commons code
---
 .../java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
index d0666558..82b8ddab 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
@@ -434,7 +434,6 @@ public class ExecutionVisitor extends EmptyVisitor {
                 stack().push(v);
             }
             stack().push(u);
-            stack().push(t);
         } else { // t.getSize() is 1
             final Type u = stack().pop();
             final Type v = stack().pop();
@@ -449,8 +448,8 @@ public class ExecutionVisitor extends EmptyVisitor {
             }
             stack().push(v);
             stack().push(u);
-            stack().push(t);
         }
+        stack().push(t);
     }
 
     /** Symbolically executes the corresponding Java Virtual Machine instruction. */