]> git.eshelyaron.com Git - emacs.git/commitdiff
Bstack_set2 support
authorAndrea Corallo <andrea_corallo@yahoo.it>
Sun, 16 Jun 2019 13:38:15 +0000 (15:38 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:33:42 +0000 (11:33 +0100)
src/comp.c

index 134d1baabcdf91726df34bda04c309e36320d423..65e480b5dafa6fa8b36f28f8537e12daa9a7d4b5 100644 (file)
@@ -1961,7 +1961,12 @@ compile_f (const char *f_name, ptrdiff_t bytestr_length,
          break;
 
        case Bstack_set2:
-         error ("Bstack_set2 not supported");
+         op = FETCH2;
+         POP1;
+         gcc_jit_block_add_assignment (comp.bblock->gcc_bb,
+                                       NULL,
+                                       *(stack - op),
+                                       args[0]);
          break;
 
        case BdiscardN: