mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-03 05:44:10 -08:00
C: fix after introducing CCE support
This commit is contained in:
parent
e5249ecb6a
commit
3779520389
|
@ -41,6 +41,7 @@ import org.teavm.model.Variable;
|
|||
import org.teavm.model.instructions.BinaryBranchingCondition;
|
||||
import org.teavm.model.instructions.BinaryBranchingInstruction;
|
||||
import org.teavm.model.instructions.BoundCheckInstruction;
|
||||
import org.teavm.model.instructions.CastInstruction;
|
||||
import org.teavm.model.instructions.CloneArrayInstruction;
|
||||
import org.teavm.model.instructions.ConstructArrayInstruction;
|
||||
import org.teavm.model.instructions.ConstructInstruction;
|
||||
|
@ -280,7 +281,8 @@ public class ExceptionHandlingShadowStackContributor {
|
|||
|| insn instanceof ConstructArrayInstruction || insn instanceof ConstructMultiArrayInstruction
|
||||
|| insn instanceof CloneArrayInstruction || insn instanceof RaiseInstruction
|
||||
|| insn instanceof MonitorEnterInstruction || insn instanceof MonitorExitInstruction
|
||||
|| insn instanceof NullCheckInstruction || insn instanceof BoundCheckInstruction) {
|
||||
|| insn instanceof NullCheckInstruction || insn instanceof BoundCheckInstruction
|
||||
|| insn instanceof CastInstruction) {
|
||||
return true;
|
||||
} else if (insn instanceof InvokeInstruction) {
|
||||
return isManagedMethodCall(characteristics, ((InvokeInstruction) insn).getMethod());
|
||||
|
|
Loading…
Reference in New Issue
Block a user