aboutsummaryrefslogtreecommitdiff
path: root/patio-to-cranelift/src/patio/flatbuffers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'patio-to-cranelift/src/patio/flatbuffers.rs')
-rw-r--r--patio-to-cranelift/src/patio/flatbuffers.rs13
1 files changed, 2 insertions, 11 deletions
diff --git a/patio-to-cranelift/src/patio/flatbuffers.rs b/patio-to-cranelift/src/patio/flatbuffers.rs
index 4e391b66..5622259a 100644
--- a/patio-to-cranelift/src/patio/flatbuffers.rs
+++ b/patio-to-cranelift/src/patio/flatbuffers.rs
@@ -10,9 +10,8 @@ use crate::{
PatioBlock, PatioBoolToInt, PatioCall, PatioCallPointer, PatioDataPtrToInt, PatioIf,
PatioInstruction, PatioIntAdd, PatioIntEquals, PatioIntNotEqual, PatioIntSub,
PatioIntToBool, PatioIntToDataPtr, PatioLocalStore, PatioLoop, PatioLoopBreak,
- PatioLoopContinue, PatioMemoryLoad, PatioMemoryStore, PatioResume, PatioReturn,
- PatioReturnVoid, PatioSwitch, PatioSwitchCase, PatioUnreachable, PatioVarLoad,
- PatioVarStore,
+ PatioLoopContinue, PatioMemoryLoad, PatioMemoryStore, PatioReturn, PatioReturnVoid,
+ PatioSwitch, PatioSwitchCase, PatioUnreachable, PatioVarLoad, PatioVarStore,
},
operands::{PatioLocalRef, PatioOperand},
types::{PatioDataLayout, PatioType},
@@ -311,14 +310,6 @@ impl From<patio_generated::patio::PatioInstruction<'_>> for PatioInstruction {
})
}
- patio_generated::patio::PatioInstructionValue::PatioResume => {
- let resume = value.value_as_patio_resume().unwrap();
-
- Self::Resume(PatioResume {
- value: resume.value().into(),
- })
- }
-
patio_generated::patio::PatioInstructionValue::PatioReturn => {
let return_ = value.value_as_patio_return().unwrap();