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

137 Коммитов

Автор SHA1 Сообщение Дата
Andreas Gal d30138f9d8 move interpreter into vm.js 2014-07-16 12:15:48 -07:00
Andreas Gal 62aa73359d don't use this, use callee in invoke 2014-07-16 12:11:35 -07:00
Andreas Gal 6c8a581543 fixup tableswitch and lookupswitch 2014-07-16 12:09:14 -07:00
Andreas Gal be5498cc03 cleanup return ops 2014-07-16 12:01:52 -07:00
Andreas Gal 8cfefeb7a6 move invoke ops 2014-07-16 11:55:14 -07:00
Andreas Gal 0574caf885 move opcodes around a bit 2014-07-16 11:32:42 -07:00
Andreas Gal ef01215289 move more ops, almost done 2014-07-16 09:06:06 -07:00
Andreas Gal cb15e5e825 move more ops 2014-07-16 08:50:20 -07:00
Andreas Gal 5f4b7a88e7 move putfield and getfield 2014-07-16 08:39:15 -07:00
Andreas Gal 1511510114 move more ops into invoke 2014-07-16 08:31:49 -07:00
Andreas Gal a0e872fb34 fix multianewarray 2014-07-16 08:25:57 -07:00
Andreas Gal 1a0f37a5ac move array opcodes, fix anewarray 2014-07-16 07:59:37 -07:00
Andreas Gal 3eded6aada move the rest of the unary ops 2014-07-16 07:34:42 -07:00
Andreas Gal 5426bdd96c sort bytecodes better 2014-07-16 07:26:55 -07:00
Andreas Gal 685b13b5db a bit of cleanup 2014-07-16 07:26:05 -07:00
Andreas Gal 4687cd3088 move more opcodes 2014-07-16 07:24:32 -07:00
Andreas Gal 163263b493 move more stuff 2014-07-16 06:57:48 -07:00
Andreas Gal c56629f037 yep, more opcodes moving 2014-07-16 06:52:31 -07:00
Andreas Gal 385ba72af6 move add, sub, mul into invoke 2014-07-16 06:46:32 -07:00
Andreas Gal a9304f2074 move more opcodes into invoke 2014-07-16 06:37:23 -07:00
Andreas Gal f87f68ee61 move more opcodes into invoke 2014-07-16 06:32:59 -07:00
Andreas Gal 34e969c8a5 move more opcodes into invoke 2014-07-16 06:23:23 -07:00
Andreas Gal 9cd81cf37e remove some dead code 2014-07-15 21:01:44 -07:00
Andreas Gal f52a3b1e88 start turning interpreter into a switch statement 2014-07-15 20:58:51 -07:00
Andreas Gal 1579c9c195 remove some dead code 2014-07-15 19:42:17 -07:00
Andreas Gal 16c34bd445 don't export JavaException from Native 2014-07-15 19:21:40 -07:00
Andreas Gal a667f4fd90 rename newFrame -> pushFrame 2014-07-15 18:11:59 -07:00
Andreas Gal b2a60cf45e remove some dead code 2014-07-15 18:09:40 -07:00
Andreas Gal 30bfea8f0c cleanup popFrame path 2014-07-15 17:20:48 -07:00
Andreas Gal 361c3ddb4f implement pushFrame popFrame 2014-07-15 17:18:34 -07:00
Andreas Gal 9a3760b7d5 start maintaining the current frame in the thread 2014-07-15 16:55:45 -07:00
Andreas Gal b339dc6f95 put tests into the right package 2014-07-15 16:49:00 -07:00
Andreas Gal 1041f9355d start a test harness 2014-07-15 16:14:48 -07:00
Andreas Gal a6a9d78920 add hello world test 2014-07-15 16:04:51 -07:00
Andreas Gal 006b9c5999 update makefile 2014-07-15 16:04:32 -07:00
Andreas Gal be3f105276 remove logger.js 2014-07-15 00:30:45 -07:00
Andreas Gal 1182b52fd5 changes 2014-07-15 00:29:17 -07:00
Andreas Gal 730a1f57d3 Merge branch 'master' of github.com:andreasgal/j2me.js 2014-07-15 00:28:34 -07:00
Andreas Gal cd27e9d578 Update README.md 2014-07-15 00:28:23 -07:00
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