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

127 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 5a238ca229 Remove isSynchronized property from Frame now that we have the isSynchronized property in MethodInfo 2014-10-10 14:32:47 -07:00
Marcus Cavanaugh 6bcc166d2d Use a MethodInfo constructor to assist with caching ACCESS_FLAG lookups. 2014-10-06 15:32:40 -07:00
Myk Melez 5e02bc0553 Merge pull request #376 from marco-c/seal_Frame
Always create Frame objects with the same set of properties
2014-10-01 17:53:31 -07:00
Marco Castelluccio aa435f1d08 Remove unused dup function 2014-09-30 19:25:25 -07:00
Marco Castelluccio 314d2b0796 Remove Object.seal call 2014-09-30 19:14:15 -07:00
Marco Castelluccio 1e149c56a6 Store isSynchronized boolean in Frame instead of calling the ACCESS_FLAGS::isSynchronized function and store lockObject just once 2014-09-30 19:00:10 -07:00
Marco Castelluccio 1146835d77 Don't create a fake caller frame for synthetic methods 2014-09-30 17:23:24 -07:00
Marco Castelluccio 49725d1acc Prevent addition of properties on Frame 2014-09-30 14:30:56 -07:00
Myk Melez fa58b19836 simplify stack reads with stack.read function 2014-09-08 19:13:52 -07:00
Andreas Gal 83d2652a55 remove getOp 2014-07-28 09:14:00 -07:00
Andreas Gal 903f06b04d fix wide opcode handling 2014-07-27 21:51:08 -07:00
Andreas Gal 72f91a6a1a big refactoring to eliminate nested interpreter loops 2014-07-25 13:06:48 -07:00
Andreas Gal 5f1e87b04a remove callback pattern 2014-07-24 00:21:59 -07:00
Andreas Gal b0a633f7d2 don't use promise code just yet 2014-07-23 16:09:44 -07:00
Andreas Gal 0824ca503d fix promise code 2014-07-22 20:45:45 -07:00
Andreas Gal 4c6c50b6fa propertly chain initClass in startup 2014-07-22 15:11:38 -07:00
Andreas Gal 44b74a7462 start properly chaning initClass 2014-07-22 15:04:46 -07:00
Andreas Gal 285d5f3a6f remove stale comment 2014-07-21 02:44:50 -07:00
Andreas Gal 697d6f14d3 move initClass to frame 2014-07-21 02:04:14 -07:00
Andreas Gal 3ffc368260 move newException onto frame 2014-07-21 02:01:06 -07:00
Andreas Gal f4c46b933d move invokeConstructor and newString onto frame 2014-07-21 01:50:36 -07:00
Andreas Gal 5646fdba9c fix monitor enter/leave 2014-07-21 00:27:22 -07:00
Andreas Gal 91428be4e3 implement synchronized methods 2014-07-20 23:14:21 -07:00
Andreas Gal 056979813e implement monitorenter/leave 2014-07-20 22:46:25 -07:00
Andreas Gal edb7c1af53 fix fetching the current thread 2014-07-20 16:08:39 -07:00
Andreas Gal 18724d85c0 initialize main thread during startup 2014-07-20 00:35:00 -07:00
Andreas Gal 1dfef4cba4 more work on strings and charsets 2014-07-19 11:20:46 -07:00
Andreas Gal 705badbf1a fix ifnull, getstatic of uninitialized fields 2014-07-18 23:44:03 -07:00
Andreas Gal f90bca8af5 add a way to print backtraces and fix ifnull/ifnonnull 2014-07-18 23:24:26 -07:00
Andreas Gal b559ad44b4 move exception handling into the interpreter 2014-07-17 18:51:01 -07:00
Andreas Gal e08fc51bc3 move raiseException into interpreter 2014-07-17 18:46:46 -07:00
Andreas Gal a204469c1d move checkArrayAccess into interpreter 2014-07-17 18:44:49 -07:00
Andreas Gal de61a90322 cleanup invoke and move to VM 2014-07-17 17:39:25 -07:00
Andreas Gal 1c5c7252c7 remove frame reference in thread for now 2014-07-17 14:35:40 -07:00
Andreas Gal e029da987e more fixes 2014-07-16 22:51:30 -07:00
Andreas Gal a9d7d8999d a bunch of fixes for longs 2014-07-16 22:45:10 -07:00
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