]> Repositorios git - scryer-prolog.git/commitdiff
consider deallocate a head instruction (#1473)
authorMark Thom <[email protected]>
Sat, 14 May 2022 17:01:26 +0000 (11:01 -0600)
committerMark Thom <[email protected]>
Sat, 14 May 2022 17:01:26 +0000 (11:01 -0600)
build/instructions_template.rs

index 75a7d60d7cbd3c3f2710ef893af2e8229851e5ec..0cf0a6b5d916f19daac15e0e3294f7254a208c46 100644 (file)
@@ -1099,6 +1099,7 @@ fn generate_instruction_preface() -> TokenStream {
             #[inline]
             pub fn is_head_instr(&self) -> bool {
                 match self {
+                    Instruction::Deallocate |
                     Instruction::GetConstant(..) |
                     Instruction::GetList(..) |
                     Instruction::GetPartialString(..) |