Граф коммитов

3148 Коммитов

Автор SHA1 Сообщение Дата
Andreas Gal cfb7914904 cleanup makefile 2014-07-15 00:23:14 -07:00
Andreas Gal 1e4de3b048 cleanup log messages 2014-07-15 00:02:31 -07:00
Andreas Gal 31eaa16642 fix console output, hello world works now 2014-07-15 00:01:11 -07:00
Andreas Gal 344d8ebbb5 comment out monitor code, it seems to be broken 2014-07-14 23:52:27 -07:00
Andreas Gal 27529726b9 more work on Class natives 2014-07-14 23:47:20 -07:00
Andreas Gal 5c70149d6e add partial Class.forName 2014-07-14 23:37:33 -07:00
Andreas Gal acf1233174 add unchecked_char_array 2014-07-14 23:19:26 -07:00
Andreas Gal 2d16b3b21f couple more fixes 2014-07-14 22:30:30 -07:00
Andreas Gal 5b0b4aef27 implement a native method 2014-07-14 22:13:01 -07:00
Andreas Gal 27c9977f9e remove arguments from caller stack upon return 2014-07-14 21:42:07 -07:00
Andreas Gal cccd855674 iteratively find methods up along the inheritance chain 2014-07-14 21:18:56 -07:00
Andreas Gal 3236838dbf add support for virtual dispatch 2014-07-14 11:21:25 -07:00
Andreas Gal 426842b664 perform null instance check before creating the new frame 2014-07-14 06:48:02 -07:00
Andreas Gal 9e11175d66 add opcode to invoke to indicate what kind of call to perform 2014-07-14 06:45:31 -07:00
Andreas Gal 1c28ce9b7c eliminate meta() and MethodInfo constructor 2014-07-13 19:58:30 -07:00
Andreas Gal 35752868ef eliminate other use of meta() 2014-07-13 19:57:33 -07:00
Andreas Gal 9d1bc6233b drop one use of meta() 2014-07-13 19:53:24 -07:00
Andreas Gal 3ee774b4fc count slots used in parsed signature 2014-07-13 19:32:37 -07:00
Andreas Gal 875de5f23f getMethod no longer needs caller since it won't raise an exception 2014-07-13 18:52:31 -07:00
Andreas Gal fd1d46cb7f pass ClassInfo instead of class name to getMethod 2014-07-13 18:50:53 -07:00
Andreas Gal 0e899fbc7e rename getMethod to getNativeMethod in Native 2014-07-13 18:47:31 -07:00
Andreas Gal 481d31b574 use a local variable instead of this.cp repeatedly 2014-07-13 18:41:08 -07:00
Andreas Gal 7757aca441 implement all invoke bytecodes in one place 2014-07-13 18:40:05 -07:00
Andreas Gal ec25a6a1f1 use === instead of == 2014-07-13 18:36:06 -07:00
Andreas Gal ade0aa1d16 remove dead code 2014-07-13 18:20:10 -07:00
Andreas Gal 170ee0229c put .class on the proto for objects 2014-07-13 17:46:07 -07:00
Andreas Gal f99bf0ab3f hook up array types 2014-07-13 17:36:47 -07:00
Andreas Gal 38852089cb more work on array types 2014-07-13 17:02:57 -07:00
Andreas Gal bbace1c438 add more array type support 2014-07-13 16:31:36 -07:00
Andreas Gal 309efc4460 Add ArrayInfo 2014-07-13 15:32:58 -07:00
Andreas Gal 164d91811c remove some dead code 2014-07-13 15:27:25 -07:00
Andreas Gal bd8bab3fdf always initialize a class when loading it 2014-07-13 15:20:17 -07:00
Andreas Gal e8689f1015 start cleaning up method lookups 2014-07-13 11:11:43 -07:00
Andreas Gal 08cf1ec81e whitespace fix 2014-07-13 10:58:12 -07:00
Andreas Gal 1572da1730 be more lazy and cache more signature parsing 2014-07-13 10:51:34 -07:00
Andreas Gal 9eb27337f1 remove dead code 2014-07-13 10:39:57 -07:00
Andreas Gal 875ef93a73 more classinfo cleanup 2014-07-13 10:37:28 -07:00
Andreas Gal 8eb9e5fd81 more classfile cleanup 2014-07-13 10:04:17 -07:00
Andreas Gal 8df87dd921 split classinfo and classfile some more 2014-07-13 09:52:01 -07:00
Andreas Gal 7401fda65d cleanup classinfo, resolve it earlier, don't keep classImage in memory 2014-07-13 09:28:19 -07:00
Andreas Gal 191585115e split classinfo and classfile 2014-07-13 09:12:57 -07:00
Andreas Gal 02f2466e32 implement arraycopy 2014-07-13 09:03:11 -07:00
Andreas Gal 6a89b9142f at last, we can raise exceptions from within natives 2014-07-13 00:15:00 -07:00
Andreas Gal b6d521de28 pass caller to natives as this 2014-07-13 00:12:33 -07:00
Andreas Gal ead498de16 rewrite invocation path 2014-07-13 00:00:11 -07:00
Andreas Gal cb4020df18 only use invoke from invoke opcodes 2014-07-12 23:24:10 -07:00
Andreas Gal 9da968fbf8 manually hand caller down wherever needed instead of THREADS.current.frame 2014-07-12 23:22:17 -07:00
Andreas Gal 121c1318f7 cleanup 2014-07-12 23:15:41 -07:00
Andreas Gal 7bfd169d76 factor ou code to call native methods 2014-07-12 23:13:53 -07:00
Andreas Gal 2e0820cb8d use chunked stacks 2014-07-12 23:05:35 -07:00