* src/vm/jit/parse.c (parse): Fix in ICMD_TABLESWITCH: Put table into
authoredwin <none@none>
Sun, 29 Oct 2006 23:33:30 +0000 (23:33 +0000)
committeredwin <none@none>
Sun, 29 Oct 2006 23:33:30 +0000 (23:33 +0000)
dump memory.

src/vm/jit/parse.c

index 1ca3a31b8da51c71979aa2f9017b17dfbee5945e..075d27a0855b17f4fd1b74ed765b343abaa3577e 100644 (file)
@@ -31,7 +31,7 @@
             Joseph Wenninger
             Christian Thalinger
 
-   $Id: parse.c 5816 2006-10-21 15:06:07Z edwin $
+   $Id: parse.c 5859 2006-10-29 23:33:30Z edwin $
 
 */
 
@@ -1070,7 +1070,7 @@ jsr_tail:
                                /* create the intermediate code table */
                                /* the first entry is the default target */
 
-                               table = MNEW(branch_target_t, 1 + num);
+                               table = DMNEW(branch_target_t, 1 + num);
                                iptr->dst.table = table;
                                (table++)->insindex = deftarget;