[svn:parrot] r48859 - trunk/compilers/imcc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Wed Sep 8 18:50:14 UTC 2010


Author: chromatic
Date: Wed Sep  8 18:50:14 2010
New Revision: 48859
URL: https://trac.parrot.org/parrot/changeset/48859

Log:
[IMCC] Removed vestigial JIT flag from IMCC.

Modified:
   trunk/compilers/imcc/debug.c
   trunk/compilers/imcc/instructions.h

Modified: trunk/compilers/imcc/debug.c
==============================================================================
--- trunk/compilers/imcc/debug.c	Wed Sep  8 18:08:21 2010	(r48858)
+++ trunk/compilers/imcc/debug.c	Wed Sep  8 18:50:14 2010	(r48859)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2002-2009, Parrot Foundation.
+ * Copyright (C) 2002-2010, Parrot Foundation.
  * $Id$
  */
 
@@ -200,10 +200,10 @@
 
         if (bb) {
             Parrot_io_fprintf(interp, Parrot_io_STDERR(interp),
-                    "%4i %4d %4d %4d\t%x\t%8x %4d %4d %4d  %c ",
+                    "%4i %4d %4d %4d\t%x\t%8x %4d %4d %4d  ",
                      ins->index, ins->line, bb->index, bb->loop_depth,
-                     ins->flags, (ins->type & ~ITEXT), ins->opnum,
-                     ins->opsize, pc, ins->type & ITEXT ? 'X' : ' ');
+                     ins->flags, ins->type, ins->opnum,
+                     ins->opsize, pc);
         }
         else {
              fprintf(stderr, "\t");

Modified: trunk/compilers/imcc/instructions.h
==============================================================================
--- trunk/compilers/imcc/instructions.h	Wed Sep  8 18:08:21 2010	(r48858)
+++ trunk/compilers/imcc/instructions.h	Wed Sep  8 18:50:14 2010	(r48859)
@@ -16,10 +16,9 @@
     ITALIAS    =  0x100000, /*  set P,P  */
     ITADDR     =  0x200000, /*  set_addr P, addr*/
     ITRESULT   =  0x400000, /*  .get_results */
-    ITEXT      =  0x800000, /*  instruction is extcall in JIT */
-    ITSAVES    = 0x1000000, /*  saveall/restoreall in a bsr */
-    ITPCCSUB   = 0x2000000, /*  PCC sub call */
-    ITPCCYIELD = 0x4000000  /*  yield from PCC call instead of return */
+    ITSAVES    =  0x800000, /*  saveall/restoreall in a bsr */
+    ITPCCSUB   = 0x1000000, /*  PCC sub call */
+    ITPCCYIELD = 0x2000000  /*  yield from PCC call instead of return */
 };
 
 


More information about the parrot-commits mailing list