* Removed all Id tags.
[cacao.git] / src / vm / jit / schedule / schedule.c
index b372aecf93c77a4990046176ee9f74bacd7ea0d8..894821011cf8f1a252cdc7d3172dbcd8cd881df6 100644 (file)
@@ -1,10 +1,10 @@
 /* src/vm/jit/schedule/schedule.c - architecture independent instruction
                                     scheduler
 
-   Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
-   R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
-   C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
-   Institut f. Computersprachen - TU Wien
+   Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+   C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
+   E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
+   J. Wenninger, Institut f. Computersprachen - TU Wien
 
    This file is part of CACAO.
 
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA.
 
-   Contact: cacao@complang.tuwien.ac.at
+   Contact: cacao@cacaojvm.org
 
    Authors: Christian Thalinger
 
    Changes:
 
-   $Id: schedule.c 4000 2005-12-22 14:05:01Z twisti $
-
 */
 
 
@@ -61,7 +59,7 @@ scheduledata *schedule_init(methodinfo *m, registerdata *rd)
                (rd->savintregcnt - rd->maxsavintreguse) +
                (rd->savfltregcnt - rd->maxsavfltreguse) +
                rd->maxmemuse +
-               m->paramcount +
+               m->parseddesc->paramcount +
                1;                           /* index 0 are all other memory accesses */
 
        /* XXX quick hack: just use a fixed number of instructions */