Hard to follow, exception removal and unused block (only from the now
removed exceptions from what I can tell)
This commit is contained in:
@@ -21,4 +21,10 @@ public class AThrow extends Instruction
|
||||
ObjectInstance exception = (ObjectInstance) e.getStack().pop();
|
||||
e.getPath().throwException(this, exception);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,4 +40,10 @@ public class Goto extends Instruction
|
||||
{
|
||||
e.jump(offset);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,4 +40,10 @@ public class GotoW extends Instruction
|
||||
{
|
||||
e.jump(offset);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,4 +83,10 @@ public class LookupSwitch extends Instruction
|
||||
Path p = e.getPath().dup();
|
||||
p.getCurrentFrame().jump(def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,4 +20,10 @@ public class Return extends Instruction
|
||||
Object ret = e.getStack().pop();
|
||||
e.getPath().returnFrame(this, ret);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,4 +79,10 @@ public class TableSwitch extends Instruction
|
||||
Path p = e.getPath().dup();
|
||||
p.getCurrentFrame().jump(def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,4 +20,10 @@ public class VReturn extends Instruction
|
||||
// XXX exceptions?
|
||||
e.getPath().returnFrame();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTerminal()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user