Commit Graph

1491 Commits

Author SHA1 Message Date
e859502811 handle unresolved constants in moveCM 2008-11-11 11:56:43 -07:00
671fd1c0f9 set popIndex for stack arguments in CallEvent constructor 2008-11-11 11:56:23 -07:00
0bef625500 fix thinko in logCompile 2008-11-11 09:17:11 -07:00
c80eb51c17 Merge branch 'master' into powerpc
Conflicts:

	makefile
	src/assembler.h
	src/compile.cpp
	src/compiler.cpp
	src/compiler.h
	src/finder.cpp
2008-11-11 08:21:48 -07:00
2304a656cf in releaseRegister, if the register is not the exclusive site of a value, steal it 2008-11-10 21:25:36 -07:00
54cda3ca61 specify register contraints for Negate instruction in MyArchitecture::plan 2008-11-10 20:23:33 -07:00
96a7c71c30 fix loading 8-byte values on 32-bit systems 2008-11-10 19:12:36 -07:00
81d532c4f0 handle overlap cases in moveRR 2008-11-10 19:11:32 -07:00
5fc9ad058b more bugfixes; all tests pass on amd64 2008-11-10 17:07:44 -07:00
00d8142de9 various bugfixes; all but one test are passing on amd64 2008-11-09 16:56:37 -07:00
000aeb25c1 handle case where first instruction is the target of a branch properly 2008-11-08 16:21:30 -07:00
decd24965a implement multiplyCR and divideCR 2008-11-08 15:42:26 -07:00
61539bae31 fix stack mapping bugs which broke GC 2008-11-08 15:36:38 -07:00
312539af64 fix moves involving sign or zero extension 2008-11-08 13:47:26 -07:00
f01f4441d9 various bugfixes and instructions implemented to get more tests passing 2008-11-06 17:39:38 -07:00
1ba497d90a fix Exceptions test for amd64 2008-11-02 15:25:51 -07:00
04da77e95b snapshot 2008-11-02 13:35:35 -07:00
3e81405a33 snapshot 2008-11-01 16:16:18 -06:00
dd4dc18916 snapshot 2008-11-01 13:14:13 -06:00
6f1d02dae7 remove the libstdc++ dependency once and for all
The trick is to make all destructors non-virtual.  This is safe because
we never use the delete operator, which is the only case where virtual
destructors are relevant.  This is a better solution than implementing
our own delete operator, because we want libraries loaded at runtime to
use the libstdc++ version, not ours.
2008-10-28 15:40:50 -06:00
88a1faa2a2 set global system pointer to null in MySystem::dispose in windows.cpp 2008-10-28 12:15:27 -06:00
01cc868797 remove debug code from builtin.cpp 2008-10-27 15:39:14 -06:00
4d613f404f use dbghelp.dll to generate crash dump file on Windows XP and later
The dump is written to the directory specified via the avian.crash.dir
system property if that property is set and is not written otherwise.
2008-10-27 15:13:27 -06:00
d20ee74d79 fix stack frame offset calculations for 64-bit values; insert dummy events for instructions which start with stack activity 2008-10-24 20:12:02 -06:00
003afdc918 fix heap dump facility to visit all roots 2008-10-24 18:48:10 -06:00
3b67417695 heap dump bugfixes 2008-10-22 18:05:34 -06:00
d25a6098e6 remove support for hiding constructors and accessors in type-generator.cpp
This feature is not being used, and it may be the cause of this bug:

  http://groups.google.com/group/avian/browse_thread/thread/955aa1479e9fddca
2008-10-22 08:39:27 -06:00
e2f3e3da77 enter active state at start of Java_java_lang_Runtime_dumpHeap 2008-10-21 17:49:32 -06:00
0459a7701c enter exclusive state before dumping heap 2008-10-21 17:47:38 -06:00
6a5116e7a7 implement primitive heap dump facility for memory profiling, accessible via Runtime.dumpHeap
The proper way to do this is to implement a subset of JVMTI, but this
will do the job for now.
2008-10-21 17:38:20 -06:00
7d6ca28b2f snapshot 2008-10-18 18:15:57 -06:00
26614e2182 use same code to spill registers and stack frame slots 2008-10-16 18:10:35 -06:00
5391c68efd bugfixes 2008-10-14 18:45:31 -06:00
aaaf388652 fix handling of instructions which are targets of more than one conditional branch 2008-10-13 18:18:18 -06:00
f38a55cbb2 make linking against libstdc++ the default, overrideable via use-libstdcpp make parameter 2008-10-13 16:31:59 -06:00
3c798f5bd7 various bugfixes concerning control flow boundaries 2008-10-11 18:23:08 -06:00
5c04c19e29 look for %s@%d format symbols when resolving native methods on Windows, which obviates the need for -k flag to dlltool 2008-10-10 17:37:36 -06:00
81cb951b08 fix stack corruption due to spurious pop events generated for jsr bytecodes 2008-10-09 17:14:52 -06:00
83d5d6fde4 avoid unnecessary moves in resolveJunctionSite; distinguish between branches and other events when deciding when to marshal values at junctions 2008-10-07 18:08:13 -06:00
f6c4496166 various bugfixes 2008-10-05 18:50:59 -06:00
adb63778f0 fix stack and local snapshots for DummyEvents 2008-10-04 18:14:43 -06:00
d54ee9081b return null for null argument to MyArchitecture::frameIp 2008-10-04 18:12:29 -06:00
83aa342bc8 hello, world on amd64 2008-10-04 11:26:35 -06:00
c9e0aa824d Initialized variables to appease gcc 4.2 2008-10-02 13:20:30 -06:00
07daa9be51 free properties array in Machine::dispose 2008-09-30 17:03:13 -06:00
df75153a85 handle case of null Stack::pushEvent in CallEvent ctor 2008-09-30 11:22:46 -06:00
89cc5aa546 initialize JarElement::region in constructor 2008-09-29 18:04:47 -06:00
823327a00b fix bytecode address calculations which broke when using -Os 2008-09-29 08:46:44 -06:00
d409f89d5d ensure that only one value holds a given frame site at at time 2008-09-28 15:56:12 -06:00
61c708d7b2 reserve stack space for arguments to native calls 2008-09-28 13:00:52 -06:00