Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: codegen.c 7693 2007-04-12 14:56:49Z michi $
+ $Id: codegen.c 7707 2007-04-15 12:23:38Z michi $
*/
sizeof(stackframeinfo) / SIZEOF_VOID_P +
sizeof(localref_table) / SIZEOF_VOID_P +
1 + /* function pointer */
- 4 * 4 + /* 4 arguments (start_native_call) */
+ 4 + /* 4 arguments (start_native_call) */
nmd->memuse;
/* keep stack 16-byte aligned */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: md-abi.c 7334 2007-02-12 00:34:51Z twisti $
+ $Id: md-abi.c 7706 2007-04-15 12:17:02Z michi $
*/
"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi"
};
+const s4 abi_registers_integer_argument[] = {
+ -1, /* empty */
+};
+
+const s4 abi_registers_integer_saved[] = {
+ 5, /* s0 */
+ 6, /* s1 */
+ 7, /* s2 */
+};
+
+const s4 abi_registers_integer_temporary[] = {
+ 3, /* t0 */
+};
+
s4 nregdescfloat[] = {
/* rounding problems with callee saved registers */
+## tests/regression/resolving/Makefile.am
+##
+## Copyright (C) 2007 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.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## 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., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+##
+## $Id: Makefile.am 7433 2007-03-02 19:42:13Z edwin $
+
+## Process this file with automake to produce Makefile.in
+
SUBDIRS = \
- classes1 \
+ classes1 \
classes2 \
classes3
HARNESS_SOURCE_FILES = \
- TestController.java \
- TestLoader.java
+ $(srcdir)/TestController.java \
+ $(srcdir)/TestLoader.java
HARNESS_CLASS_FILES = \
TestController.class \
TestLoader.class
TEST_SOURCE_FILES = \
- test_instance_subtype_violated.java \
- test_param_loading_constraint_violated_derived.java \
- test_param_loading_constraint_violated.java \
- test_param_subtype_violated.java \
- test_retval_loading_constraint_violated.java \
- test_return_subtype_ok.java \
- test_return_subtype_violated.java \
- test_simple_lazy_load.java
+ $(srcdir)/test_instance_subtype_violated.java \
+ $(srcdir)/test_param_loading_constraint_violated_derived.java \
+ $(srcdir)/test_param_loading_constraint_violated.java \
+ $(srcdir)/test_param_subtype_violated.java \
+ $(srcdir)/test_retval_loading_constraint_violated.java \
+ $(srcdir)/test_return_subtype_ok.java \
+ $(srcdir)/test_return_subtype_violated.java \
+ $(srcdir)/test_simple_lazy_load.java
TEST_NAMES = \
test_instance_subtype_violated \
endif
check: $(HARNESS_CLASS_FILES)
- for t in $(TEST_NAMES) ; do echo "TEST $$t" ; { $(JAVAC) $$t.java && $(JAVA) $$t ; } || exit 1 ; done
+ for t in $(TEST_NAMES) ; do echo "TEST $$t" ; { $(JAVAC) -d . $(srcdir)/$$t.java && $(JAVA) $$t ; } || exit 1 ; done
$(HARNESS_CLASS_FILES): $(HARNESS_SOURCE_FILES)
- $(JAVAC) $(HARNESS_SOURCE_FILES)
+ $(JAVAC) -d . $(HARNESS_SOURCE_FILES)
+## tests/regression/resolving/classes1/Makefile.am
+##
+## Copyright (C) 2007 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.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## 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., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+##
+## $Id: Makefile.am 7433 2007-03-02 19:42:13Z edwin $
+
+## Process this file with automake to produce Makefile.in
+
SOURCE_FILES = \
- BarPassFoo.java \
- BarUseFoo.java \
- Foo.java
+ $(srcdir)/BarPassFoo.java \
+ $(srcdir)/BarUseFoo.java \
+ $(srcdir)/Foo.java
CLASS_FILES = \
BarPassFoo.class \
check: $(CLASS_FILES)
$(CLASS_FILES): $(SOURCE_FILES)
- $(JAVAC) $(SOURCE_FILES)
+ $(JAVAC) -d . $(SOURCE_FILES)
+## tests/regression/resolving/classes2/Makefile.am
+##
+## Copyright (C) 2007 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.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## 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., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+##
+## $Id: Makefile.am 7433 2007-03-02 19:42:13Z edwin $
+
+## Process this file with automake to produce Makefile.in
+
SOURCE_FILES = \
- BarPassFoo.java \
- BarUseFoo.java \
- DerivedFoo.java \
- Foo.java
+ $(srcdir)/BarPassFoo.java \
+ $(srcdir)/BarUseFoo.java \
+ $(srcdir)/DerivedFoo.java \
+ $(srcdir)/Foo.java
CLASS_FILES = \
BarPassFoo.class \
check: $(CLASS_FILES)
$(CLASS_FILES): $(SOURCE_FILES)
- $(JAVAC) $(SOURCE_FILES)
+ $(JAVAC) -d . $(SOURCE_FILES)
+## tests/regression/resolving/classes3/Makefile.am
+##
+## Copyright (C) 2007 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.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## 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., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+##
+## $Id: Makefile.am 7433 2007-03-02 19:42:13Z edwin $
+
+## Process this file with automake to produce Makefile.in
+
SOURCE_FILES = \
- BarPassFoo.java \
- BarUseFoo.java \
- DerivedFoo.java \
- Foo.java
+ $(srcdir)/BarPassFoo.java \
+ $(srcdir)/BarUseFoo.java \
+ $(srcdir)/DerivedFoo.java \
+ $(srcdir)/Foo.java
CLASS_FILES = \
BarPassFoo.class \
check: $(CLASS_FILES)
$(CLASS_FILES): $(SOURCE_FILES)
- $(JAVAC) $(SOURCE_FILES)
+ $(JAVAC) -d . $(SOURCE_FILES)