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

88 Коммитов

Автор SHA1 Сообщение Дата
Michael Bebenita fdc6d9e96f Reapply change from previous busted commit. 2015-01-22 17:03:43 -08:00
Michael Bebenita 83552d28da Handle exceptions thrown by bottom most OSR frames. 2015-01-22 17:01:41 -08:00
Michael Bebenita fa83973d68 Adds missed interpreter call counts. 2015-01-22 17:01:28 -08:00
Myk Melez e1628e292c Merge pull request #906 from brendandahl/fix-resolved-invoke-locks
Use slow path for synchronized methods to ensure we lock.
2015-01-22 10:32:47 -08:00
Brendan Dahl 90f0e50324 Use slow path for synchronized methods to ensure we lock. 2015-01-21 19:55:23 -08:00
Michael Bebenita 032f6ab6e1 Inline frequently called Object initializer. 2015-01-21 17:05:59 -08:00
Michael Bebenita 7c4ae6d4ac Merge commit 'c835d81fa2ca1d4b39d5cae4d1d8d1cc2077ac1e' into jitjit 2015-01-20 22:43:38 -08:00
Michael Bebenita b23c068403 Add comments. 2015-01-20 16:50:08 -08:00
Michael Bebenita 86d79098b6 Enable JIT compilation by default. 2015-01-20 15:56:29 -08:00
Myk Melez 4dcdfe1925 Merge branch 'master' into mbebenita-intopt
Conflicts:
	Makefile
	jit/baseline.ts
	jit/blockMap.ts
2015-01-20 14:14:29 -08:00
Myk Melez 7b4c8053ed remove the rest of the debugger statements 2015-01-20 13:43:27 -08:00
Michael Bebenita 280c5a5a89 Use a different array for resolved constants. 2015-01-20 11:02:05 -08:00
Michael Bebenita 5809744eef More OSR changes., WIP. 2015-01-19 12:28:04 -08:00
Michael Bebenita bf537b5c7a OSR Support and misc cleanup. 2015-01-18 19:54:01 -08:00
Michael Bebenita de892b94e2 Quicken resolved opcodes. Optime frame stack. 2015-01-16 16:40:58 -08:00
Michael Bebenita 06930297c5 Remove frame sets so that we can save on memory allocation. 2015-01-16 04:58:54 -08:00
Michael Bebenita 7432645bea Pool frames to save on allocation. 2015-01-16 01:45:59 -08:00
Michael Bebenita bc210e84dc No point in calling yet another function. 2015-01-16 01:44:35 -08:00
Michael Bebenita a0e7500f49 Some cleanup. 2015-01-16 00:46:34 -08:00
Michael Bebenita 336ead1407 Merge branch 'master' of https://github.com/andreasgal/j2me.js
Conflicts:
	Makefile
	libs/console.js
	main.html
	references.ts
	runtime.ts
	style/main.css
2015-01-15 14:53:59 -08:00
Michael Bebenita e8b9366541 Don't count by default. 2015-01-14 20:40:05 -08:00
Michael Bebenita e61cf6927e Only link right before initializing a class. 2015-01-14 17:13:14 -08:00
Brendan Dahl d6439415db Add missing newlines. 2015-01-13 16:47:42 -08:00
Michael Bebenita dcd02fd608 Merge branch 'jit-merge' of https://github.com/brendandahl/j2me.js
Conflicts:
	interpreter.ts
	style/main.css
2015-01-08 14:11:19 -08:00
Michael Bebenita 67f6da5285 Faster tracing. 2015-01-07 15:46:53 -08:00
Brendan Dahl 83618a2cd7 Fix exception handling location. 2015-01-07 15:08:56 -08:00
Brendan Dahl e9ef0dc92f Remove optimization for wide instructions. 2015-01-07 13:46:01 -08:00
Myk Melez 477c3b3078 Merge branch 'brendandahl-jit-merge' into mbebenita-master
Conflicts:
	interpreter.ts
	tests/gfx/ImmutableImageFromByteArrayTest.java
2015-01-04 22:37:21 -08:00
Brendan Dahl c38ab782c3 Fix error that's not really an error. 2015-01-02 17:03:37 -08:00
Brendan Dahl 2c52242fd0 Don't handle non-java exceptions. 2015-01-02 15:43:51 -08:00
Michael Bebenita b4158f43e6 Fix argument regression. 2014-12-30 17:48:53 -08:00
Marcus Cavanaugh 0b9f34c553 Stop passing ctx directly. 2014-12-29 17:43:27 -06:00
Marcus Cavanaugh 48572b3a47 Move inline functions out of interpret(). 2014-12-29 16:11:39 -06:00
Michael Bebenita d380876a6e Misc. 2014-12-29 13:26:10 -08:00
Michael Bebenita 95616a891c Cache argument slot count on methodInfos for faster access. 2014-12-25 21:34:17 -08:00
Michael Bebenita 7520bc5c98 Pull out return value checking. 2014-12-25 21:03:45 -08:00
Michael Bebenita 463d98af14 Cleanup and move resolve closures outside of the interpreter method. 2014-12-25 19:49:09 -08:00
Michael Bebenita 5a5758e4c8 More cleanup, add bigram optimizations. 2014-12-25 19:08:53 -08:00
Michael Bebenita be3efbebbe Process wide opcode out of line. 2014-12-25 10:17:00 -08:00
Michael Bebenita 60fb8c0f34 Renaming. 2014-12-25 10:11:18 -08:00
Michael Bebenita bd8f93965d Use PC instead of BCI in the interpreter. 2014-12-25 10:03:06 -08:00
Michael Bebenita 8182ac4c3d Typing fallout. 2014-12-25 09:39:53 -08:00
Michael Bebenita 816c9a38b5 Cleanup. 2014-12-25 09:39:01 -08:00
Michael Bebenita 2bca933433 Monomorphize many of the interpreter bytecodes. 2014-12-24 16:46:31 -08:00
Marcus Cavanaugh 1858b1bdd9 Port remaining createException() calls to $.new*. 2014-12-23 10:01:58 -06:00
Michael Bebenita e943c498b0 Fix tests and import fn. 2014-12-21 18:21:30 -08:00
Michael Bebenita 624135b5ed Don't allocate when calling methods from the interpreter. 2014-12-21 00:49:20 -08:00
Michael Bebenita 08276671f6 Only test return values in debug mode. 2014-12-21 00:08:46 -08:00
Michael Bebenita 07eb87c2b0 Adds a call graph analysis to determine where it's safe to skip generating yield code.
Hold static and special functions on method infos.
2014-12-20 21:03:03 -08:00
Brendan Dahl bda1440778 Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx
Conflicts:
	context.ts
	interpreter.ts
2014-12-19 10:06:47 -07:00