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

64 Коммитов

Автор SHA1 Сообщение Дата
Michael Bebenita 51fe908c63 Some cleanup. 2014-11-18 01:03:00 -08:00
Brendan Dahl 9e1924cb81 Resolve merge conflicts. 2014-11-17 15:58:56 -08:00
Brendan Dahl ac2e9fb87c Revert it branch. 2014-11-17 14:18:39 -08:00
Marco Castelluccio 570a4e783f Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
Conflicts:
	vm.js
2014-10-28 23:25:03 +01:00
Marco Castelluccio f3b184b3e4 Move newArray and its relatives from Context and Runtime to util 2014-10-27 13:13:54 +01:00
Marco Castelluccio c77c17f4c3 Run tests both in normal mode and in "compile everything" mode 2014-10-21 19:40:25 +02:00
Michael Bebenita 7cf41626d0 More porting. 2014-10-13 22:10:18 -07:00
Marco Castelluccio f19e7a3479 Remove numCalled hack used for testing 2014-10-13 10:01:57 -07:00
Marco Castelluccio adbfb7d54b Merge commit '13dbd3bc1fd73cc7f4e8576a7192ced856fbaf7a' into jitjit
Conflicts:
	classinfo.js
	vm.js
2014-10-13 09:34:23 -07:00
Marco Castelluccio 12e1681adf Merge commit '0e137b598a9ab15ed86ff0dc9beea5329cbb2ce1' into jitjit
Conflicts:
	classinfo.js
2014-10-13 09:30:07 -07:00
Marco Castelluccio 8d11d63956 WIP - Set numCalled to 100 to compile all functions 2014-10-13 09:23:19 -07:00
Marco Castelluccio 2f7c2ad70f Add needed info to synthetic methods to calculate the consumes property 2014-10-10 01:30:30 -07:00
Marco Castelluccio d6884d3197 Merge branch 'master' of https://github.com/andreasgal/j2me.js into signature 2014-10-10 01:25:00 -07:00
Marcus Cavanaugh 527e65a695 Make synthetic methods use the MethodInfo constructor. 2014-10-09 16:31:00 -07:00
Marco Castelluccio 2239e793df Set consumes property of a MethodInfo instead of calculating it for each invoke*. Fixes #407. 2014-10-09 15:11:11 -07:00
Marco Castelluccio f45301aa85 No need to recalc methodInfo key in VM.compile after #414 2014-10-09 14:00:58 -07:00
Marco Castelluccio ecd5b1d9a9 Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
Conflicts:
	classinfo.js
2014-10-09 13:57:18 -07:00
Marco Castelluccio ee0bcbcb3b Implement basic JIT 2014-10-09 13:46:12 -07:00
Marcus Cavanaugh 0a6b67fd1c Move alternateImpl detection into MethodInfo constructor. 2014-10-08 14:05:34 -07:00
Myk Melez 2be0a5b730 Revert "Move alternateImpl detection into MethodInfo constructor." 2014-10-08 12:20:48 -07:00
Marcus Cavanaugh 81e80969b6 Move alternateImpl detection into MethodInfo constructor. 2014-10-07 11:14:05 -07:00
Marcus Cavanaugh 0a5f8772b6 Remove MethodInfo.access_flags; optimize forEach loop. 2014-10-07 06:29:53 -07:00
Marcus Cavanaugh 6bcc166d2d Use a MethodInfo constructor to assist with caching ACCESS_FLAG lookups. 2014-10-06 15:32:40 -07:00
Marco Castelluccio a73e4ed546 Merge branch 'master' of https://github.com/andreasgal/j2me.js into pass_key_to_getfield
Conflicts:
	classes.js
2014-09-26 21:19:58 -07:00
Marco Castelluccio 0290715e86 Fix last instance in classinfo.js. Fixes #344. 2014-09-25 21:21:42 -07:00
Marco Castelluccio b71ee629f6 Fix all getField callers 2014-09-25 21:04:20 -07:00
Marco Castelluccio de7ec4104d Add vmc and vfc fields to all classes 2014-09-25 19:20:41 -07:00
Myk Melez b23336b799 cache fields 2014-09-25 12:52:38 -07:00
Marco Castelluccio c0e1df461e Implement a virtual method cache to reduce the cost of invokevirtual and invokeinterface 2014-09-24 20:20:49 -07:00
Myk Melez 7b7b0e1887 stringify class, instance, and field objects more specifically 2014-09-12 00:58:44 -07:00
Marco Castelluccio 4cac18ff71 Classes that implement an interface also implement its superinterfaces 2014-08-21 13:09:58 -07:00
Andreas Gal 936de85d1c add basic support for isolates, not complete yet 2014-08-07 10:10:54 -07:00
Andreas Gal 695d1619f8 move isolate-specific state out of CLASSES 2014-08-06 16:48:17 -07:00
Andreas Gal e915558235 eliminate .staticFields and store static field values directly in field 2014-08-01 23:14:57 -07:00
Andreas Gal 236e4e9a36 use numeric ids as field names 2014-08-01 22:47:26 -07:00
Andreas Gal 817647645e support LocalizedStringsBase.getContent 2014-07-31 18:29:17 -07:00
Andreas Gal f10491aa71 more midp native code 2014-07-30 17:40:39 -07:00
Andreas Gal 68032ec1b1 lookup field in getstatic/putstatic 2014-07-29 03:43:12 -07:00
Andreas Gal d7a1f4302d make code run better in chrome 2014-07-28 19:13:32 -07:00
Andreas Gal bde88bd000 add and fix vm for ClassTest.java 2014-07-26 18:20:54 -07:00
Andreas Gal cf318d6da1 add support for Mauve-style testlets, and fix interface cast check and assigning null to an array 2014-07-26 14:18:44 -07:00
Andreas Gal e7334a29e2 add debug code and move all but actual clinit call into ClassInfo constructor 2014-07-25 20:14:19 -07:00
Andreas Gal 1b3d71607d flag whether class still needs initialization so we can bypass the initClass call 2014-07-20 21:17:08 -07:00
Andreas Gal dbd8da606c preload java/lang/Class 2014-07-20 17:15:09 -07:00
Andreas Gal f78a97eecc preload java/lang/Object 2014-07-20 17:10:12 -07:00
Andreas Gal c897a21b3d fix access to inherited fields 2014-07-19 15:53:58 -07:00
Andreas Gal e1c685dba4 fix a bunch of corner cases around array type checking 2014-07-19 13:18:45 -07:00
Andreas Gal 3aaf2f87a2 implement checkcast and partial assignment testing (no interfaces yet) 2014-07-18 11:31:05 -07:00
Andreas Gal 43613c1650 more array fixes 2014-07-18 01:25:12 -07:00
Andreas Gal 4f601504b4 implement interface checks 2014-07-17 23:44:06 -07:00