Commit Graph

11242 Commits

Author SHA1 Message Date
Joel Dice
e32a335079 Merge branch 'master' of dice:git/vm
Conflicts:

	src/cdecl.S
2007-10-04 17:17:57 -06:00
Joel Dice
feeaecbfd8 more work on JIT unwinding 2007-10-04 16:41:19 -06:00
Eric Scharff
8b607d4aa4 FileInputStream read() should return an unsigned byte 2007-10-04 13:57:39 -06:00
Eric Scharff
a9fcb59e6c Fix a floating point comparison bug - Gets simple SWT examples to work on
Mac OS X
2007-10-04 10:21:14 -06:00
Eric Scharff
ace36f1b15 Simplify code for Mac stack alignment conventions 2007-10-04 07:30:39 -06:00
Joel Dice
2135f62584 progress towards JIT stack unwinding 2007-10-03 21:19:39 -06:00
Joel Dice
404d996c1e snapshot 2007-10-03 18:41:54 -06:00
Joel Dice
ba03aa88df snapshot 2007-10-02 19:54:21 -06:00
Joel Dice
f7058f8fd6 snapshot 2007-10-02 18:22:48 -06:00
Eric Scharff
d2053d51d2 Floats are always passed as doubles in varargs calls. Properly pop them
off the stack and cast them
2007-10-02 09:50:08 -06:00
Eric Scharff
7bc85a1247 Implemented printing of doubles using snprintf 2007-10-02 09:23:49 -06:00
Eric Scharff
243d62a952 non-working implementation of float and double.toString() 2007-10-02 08:58:35 -06:00
Joel Dice
68e382ca8d snapshot 2007-10-01 18:08:17 -06:00
Joel Dice
45dc118ab9 invoke native methods using a common routine, instead of compiling code specific to each method 2007-10-01 09:19:15 -06:00
Joel Dice
7ecb5b9c30 fixes for various recent regressions 2007-09-30 10:32:17 -06:00
Joel Dice
7caedba26f hello, world! 2007-09-30 09:52:21 -06:00
Joel Dice
ea47976aad implement array load instructions 2007-09-29 22:07:22 -06:00
Joel Dice
a73f474f34 implement Processor::makeLocalReference()/disposeLocalReference() 2007-09-29 21:33:38 -06:00
Joel Dice
8ae36c05b7 lots of new instructions and bugfixes 2007-09-29 20:48:27 -06:00
Joel Dice
b0500a881c implement checkcast and instanceof 2007-09-29 15:08:29 -06:00
Joel Dice
569cfa9e07 implement more instructions; various bugfixes 2007-09-29 14:24:14 -06:00
Joel Dice
f2ec75e202 handle 32-bit immediate values in Assembler.push() 2007-09-29 12:34:56 -06:00
Joel Dice
ccd7118bed Merge branch 'master' of dice:git/vm 2007-09-28 17:41:08 -06:00
Joel Dice
79603e284d sketch of Compiler.compileNative() and ifnull instruction implementation 2007-09-28 17:41:03 -06:00
Eric Scharff
da6dd8fba3 Fix ByteBuffer bugs 2007-09-28 13:18:28 -06:00
Eric Scharff
bcd5f5b94b Fixed bulk put offset for sliced arrays 2007-09-28 12:19:13 -06:00
Eric Scharff
cc8dd6d8c0 Implemented ByteBuffer.flip() 2007-09-28 12:18:01 -06:00
Eric Scharff
b4afc538d4 (Hopefully correct) implementation of ByteBuffer 2007-09-28 12:16:25 -06:00
Eric Scharff
43a2cb7cc5 Tie up some loose ends, implementing methods that are useful but not yet implemented. 2007-09-28 11:38:58 -06:00
Eric Scharff
5691ec87f0 Added a proper implementation of TreeSet, based on a Persistent set implementation. 2007-09-28 11:01:57 -06:00
Eric Scharff
8a4d3effe0 Make String.compare() match the Java specification 2007-09-28 11:00:31 -06:00
Joel Dice
60eeb73e0f Merge branch 'master' of dice:git/vm 2007-09-28 08:45:32 -06:00
Joel Dice
ddab82996c implement invokestatic, putstatic, and bipush; respect special handling of rsp and rbp in Assembler 2007-09-28 08:45:26 -06:00
Eric Scharff
07f4a359ad Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm 2007-09-27 16:23:30 -06:00
Eric Scharff
3fb90d4c3a Added minimalist TreeSet implementation, as well as Test classes for trees
and lists.
2007-09-27 16:23:05 -06:00
Joel Dice
37ccb6cb46 Merge branch 'master' of dice:git/vm 2007-09-27 16:21:00 -06:00
Joel Dice
d1681c0918 add a few more instructions to compile.cpp and fix bugs in others; invokespecial and invokevirtual are working 2007-09-27 16:20:54 -06:00
Joel Dice
bd95ccdbd6 clear object header flags after copying array in Object.clone() 2007-09-27 16:10:29 -06:00
Eric Scharff
0efc498837 Another place where printing null should be permitted 2007-09-27 15:21:39 -06:00
Eric Scharff
2ae6aa7ddf Fix System.arraycopy when the source and dest are the same 2007-09-27 15:06:56 -06:00
Eric Scharff
101b0c3b0e Support printing of null references 2007-09-27 15:05:55 -06:00
Eric Scharff
9621679d2a Cosmetic tweaks to the default logger 2007-09-27 12:43:20 -06:00
Eric Scharff
26de9c334d Add a default logging handler, in case the user doesn't provide any. 2007-09-27 12:42:06 -06:00
Joel Dice
f1bdc4c745 various fixes to get JIT working on x86_64 2007-09-26 18:01:38 -06:00
Joel Dice
554dd76495 Merge branch 'master' of dice:git/vm 2007-09-26 17:23:14 -06:00
Joel Dice
2f3f97d550 clean up compile.cpp and support both x86_64 and i386; further refactoring to support JIT 2007-09-26 17:23:03 -06:00
Eric Scharff
bb4a7c21c7 Implemented a simple but working implementation of the java logging API,
complete with a test class
2007-09-26 14:46:21 -06:00
Joel Dice
749ae86d49 Merge branch 'master' of dice:git/vm 2007-09-26 13:45:58 -06:00
Joel Dice
770e48c197 make Object.clone() work for arrays 2007-09-26 13:45:52 -06:00
Eric Scharff
a88f7c8473 Implemented proper enum toString() behavior and an enum test. it should
work, but it fails with the current build.
2007-09-26 12:59:18 -06:00