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

3361 Коммитов

Автор SHA1 Сообщение Дата
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
Michael Bebenita dace80e41e Add fast path for the most common type of adapter frame. 2014-12-24 13:58:10 -08:00
Michael Bebenita e9a86c7bd2 Optimize strings some more. 2014-12-23 22:10:31 -08:00
Michael Bebenita 9899aa23cd Split emitKlass method into fewer smaller ones so they can show up in profiles. 2014-12-23 21:21:33 -08:00
Michael Bebenita bd572fe285 String optimizations to prevent temporary string allocation. 2014-12-23 21:20:07 -08:00
Michael Bebenita b149c623bb Merge branch 'master' of https://github.com/mbebenita/j2me.js 2014-12-23 12:43:02 -08:00
Michael Bebenita f8930fa1fd Adds a separate method timeline.
Waits 500ms before starting and profiling WA so we get more reliable perf numbers.
2014-12-23 12:42:47 -08:00
Michael Bebenita 40a1a2325a Merge pull request #10 from mcav/fix-dollar-s
Replace $S with J2ME.newString.
2014-12-23 12:30:06 -08:00
Michael Bebenita c653fe65ed Merge pull request #8 from mcav/mbx-createException
Port remaining createException() calls to $.new*.
2014-12-23 12:23:48 -08:00
Marcus Cavanaugh b8bbc48e87 Replace $S with J2ME.newString. 2014-12-23 14:17:16 -06:00
Marcus Cavanaugh 1858b1bdd9 Port remaining createException() calls to $.new*. 2014-12-23 10:01:58 -06:00
Michael Bebenita e8ed6b3a99 Fix regression. 2014-12-22 15:00:05 -08: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 92bec6a73e Define byte codes only when the compiler needs them. 2014-12-21 00:08:05 -08:00
Michael Bebenita b54cf86587 Omit class initialization check for frequently used known classes.
Fix slowness in loadFile.
2014-12-20 23:39:08 -08:00
Michael Bebenita 0b0221c4fa Remove unused code from utilities. 2014-12-20 23:36:19 -08:00
Michael Bebenita 8ddee76ae4 Guard asserts. 2014-12-20 23:35:54 -08:00
Michael Bebenita 6cd549815c Make sure type guards don't fail. 2014-12-20 23:33:59 -08:00
Michael Bebenita a495c644f8 Remove string caching optimization because it was causing Ion bailouts. 2014-12-20 23:04:58 -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
Michael Bebenita ea62d9c9af Merge branch 'master' of https://github.com/mbebenita/j2me.js 2014-12-20 02:02:56 -08:00
Michael Bebenita a02cdac210 Merge pull request #7 from syg/goddammit
Don't assign methodInfo to the function object, which has resolve hooks.
2014-12-20 02:02:21 -08:00
Shu-yu Guo 2cf6126bd9 Don't assign methodInfo to the function object, which has resolve hooks. 2014-12-19 17:49:15 -08:00
Michael Bebenita 835e222faf Add custom classes to avoid synchornization. 2014-12-19 16:45:13 -08:00
Michael Bebenita 110ae2c13e Fix AOT command. 2014-12-19 15:54:14 -08:00
Michael Bebenita 29f25dd051 Stub Promise in jsshell. 2014-12-19 14:36:06 -08:00
Michael Bebenita 25874807f2 Adds make aot target to compile everything. 2014-12-19 12:23:55 -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
Michael Bebenita b8c8e5dca8 Add some instrumentation. 2014-12-19 00:54:42 -08:00
Michael Bebenita 6557256101 Merge. 2014-12-18 17:23:42 -08:00
Michael Bebenita 9fc8c5314d Remove references to old files. 2014-12-18 17:19:46 -08:00
Michael Bebenita fef818f866 Avoid data view, cache strings. 2014-12-18 16:54:09 -08:00
Marcus Cavanaugh 57437e0ebf Remove createAlternateImpl. 2014-12-18 18:41:24 -06:00
Marcus Cavanaugh c685415529 Convert JavaExceptions into plain exceptions. 2014-12-18 18:41:07 -06:00
Michael Bebenita 9818bbbb5e Don't use forEach in class constructor. 2014-12-18 14:24:08 -08:00
Michael Bebenita 205115200c Remove scimark from main.js file. 2014-12-18 14:23:11 -08:00
Michael Bebenita 78db11e7cf Add missing files. 2014-12-18 14:17:31 -08:00
Michael Bebenita 215cdb21b1 Remove allocation heavy bit tests. 2014-12-18 13:57:53 -08:00
Michael Bebenita eb8529bdea Default to release mode. 2014-12-18 13:08:04 -08:00
Michael Bebenita bb49c86930 Merge pull request #6 from kripken/fix_opt_ta_loads
fix and optimize typed array loads in Frame
2014-12-18 12:43:19 -08:00
Brendan Dahl 04a4dc0937 Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx
Conflicts:
	runtime.ts
2014-12-18 12:27:38 -08:00
Alon Zakai e7ade3c1f0 fix and optimize typed array loads in Frame 2014-12-18 11:51:13 -08:00
Michael Bebenita fe1dddf424 Add more instrumentation. 2014-12-18 00:53:16 -08:00
Michael Bebenita c8a1b125c8 Add shumway timeline view. 2014-12-17 23:29:14 -08:00