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

5318 Коммитов

Автор SHA1 Сообщение Дата
Michael Bebenita 664b62416d Merge branch 'lazy' into fruit 2015-03-13 17:21:47 -07:00
Michael Bebenita a9e206c8ff Fix merge error. 2015-03-13 16:57:56 -07:00
Michael Bebenita 4375872d8c Calculate hashes directly from UTF8 strings. 2015-03-13 16:42:16 -07:00
Michael Bebenita 1ab940d391 Merge branch 'lazy' into fruit 2015-03-13 15:56:23 -07:00
Michael Bebenita 9e9af34e22 Merge commit 'a280d5ce124e1db3b874011a447305f3ebe4b5c9' into lazy
Conflicts:
	native.js
	vm/parser.ts
2015-03-13 15:55:24 -07:00
Michael Bebenita 5c331665a4 Fix nits. 2015-03-13 15:17:28 -07:00
Michael Bebenita 2afebd722b Rename poorly named tryLinkMethod to getLinkedMethod 2015-03-13 14:58:09 -07:00
Myk Melez a280d5ce12 Merge pull request #1232 from marco-c/add_other_tests
Fix some class loading problems; add a bunch of tests
2015-03-13 14:33:48 -07:00
Michael Bebenita f509bdcdc9 Cache UTF8 conversions. 2015-03-13 14:31:54 -07:00
Michael Bebenita 994a14d5be Cache initialize method, this saves about 1/3 on the number of calls to getMethodByName. 2015-03-13 11:49:42 -07:00
Michael Bebenita 49bc758f96 Remove debugger statement. 2015-03-13 11:28:21 -07:00
Michael Bebenita cf1807b877 Remove debugger statement. 2015-03-13 11:24:49 -07:00
Michael Bebenita d1c47e70bc Reuse local. 2015-03-13 11:16:25 -07:00
Michael Bebenita 3c8376a864 Don't use trampolines for static / special calls. 2015-03-13 03:33:27 -07:00
Michael Bebenita b8e54cb310 Merge commit '9d7826aa6ca02ee6d465e305807c3ff5c07701a7' into lazy 2015-03-13 02:34:47 -07:00
Michael Bebenita 834fd40085 Enable compiler and use static trampolines. 2015-03-13 02:18:03 -07:00
Michael Bebenita 21a01906e8 Link virtual methods lazily. 2015-03-13 02:00:37 -07:00
Michael Bebenita f9038c1aa5 Midlets run with lazy linking, still need to reintegrate JIT. 2015-03-12 20:02:05 -07:00
Michael Bebenita 6f6b2baf6f Stab at lazy linking. 2015-03-12 16:58:32 -07:00
Marco Castelluccio 0a21d948d3 Add another todo ByteArrayInputStream test 2015-03-13 00:57:20 +01:00
Marco Castelluccio a93d0d0114 Add tests for ByteArrayInputStream, ByteArrayOutputStream, InputStream, OutputStream, OutputStreamWriter and some IO-related exceptions 2015-03-13 00:42:25 +01:00
Marco Castelluccio b57881d3b3 Add other tests related to exceptions 2015-03-13 00:39:54 +01:00
Marco Castelluccio 41c6d565da Fix TestClassLoading. Fixes #1227 2015-03-13 00:38:46 +01:00
Marco Castelluccio fc5cf7e989 Add another String test 2015-03-12 23:45:11 +01:00
Marco Castelluccio 7305b17cb2 Add Class::newInstance tests 2015-03-12 23:45:01 +01:00
Marco Castelluccio d8cf8aa8f9 Throw InstantiationException when instantiating classes without a nullary constructor in Class::newInstance 2015-03-12 23:40:54 +01:00
Marco Castelluccio 1662e3c9e3 Throw InstantiationException for array classes in Class:newInterface 2015-03-12 23:30:19 +01:00
Marco Castelluccio 0ff970d149 Throw InstantiationException for interfaces and abstract classes in Class::newInstance 2015-03-12 23:25:43 +01:00
Marco Castelluccio 8824487106 Add InstantiationException bindings 2015-03-12 23:25:10 +01:00
Marco Castelluccio 6e88594684 Add String::getBytes tests 2015-03-12 22:37:25 +01:00
Marco 9d7826aa6c Merge pull request #1230 from mykmelez/shush-jar-creation
shush jar creation
2015-03-12 22:28:08 +01:00
Myk Melez 56f38c02e3 shush jar creation 2015-03-12 11:28:30 -07:00
Myk Melez 1a4d8c15c3 Merge pull request #1228 from marco-c/add_some_tests
Add some tests
2015-03-12 11:17:12 -07:00
Myk Melez 0cd50f63f4 Merge pull request #1229 from mykmelez/unsafe-property-access
Fix unsafe property access in fs.js
2015-03-12 10:54:22 -07:00
Michael Bebenita fc1ef5a356 Fix unsafe property access in fs.js
(cherry picked from commit 5e8d5db018)

Conflicts:
	midp/fs.js
2015-03-12 10:29:12 -07:00
Michael Bebenita 98a9ad262e Need to use string hashing scheme of now because of the way AOT code is emitted. 2015-03-11 19:57:02 -07:00
Michael Bebenita 794195741c Work around issue related to creating strings when no VM exists. 2015-03-11 19:55:31 -07:00
Michael Bebenita d7c4b85118 Untracked unused file. 2015-03-11 19:27:39 -07:00
Michael Bebenita 3a6705b9d0 Cache js strings for now, until we update all the use sites. 2015-03-11 19:26:05 -07:00
Michael Bebenita 7a129e8c6b Simpler class mangling, and discourage usage of className. 2015-03-11 17:41:01 -07:00
Michael Bebenita ad99e0431b Merge. 2015-03-11 17:04:06 -07:00
Michael Bebenita 587021e152 Clean up and reorder some fields. 2015-03-11 16:50:14 -07:00
Michael Bebenita 12e400b501 Parse signature descriptors from UTF8 strings. 2015-03-11 16:42:07 -07:00
Marco Castelluccio ff7936c506 Add some String and StringBuffer tests 2015-03-12 00:08:26 +01:00
Marco Castelluccio e0a8172ad6 Fix exceptions thrown by string natives 2015-03-12 00:03:56 +01:00
Marco Castelluccio c3a7ba80e0 Add a Class test 2015-03-12 00:03:40 +01:00
Marco Castelluccio 82cb6d1a21 Add some tests for exceptions 2015-03-12 00:03:26 +01:00
Marco Castelluccio d8d973e3c5 Add some Thread tests 2015-03-11 23:45:58 +01:00
Marco Castelluccio 5017c6300f Add some bytecode tests from JikesRVM 2015-03-11 22:45:55 +01:00
Marco Castelluccio 5f471d4c1c Add some math tests 2015-03-11 22:45:25 +01:00