Yuan Xulei
|
2788b2d072
|
Handle nested try-catch-finally block correctly. Fix #396
|
2014-11-18 11:09:15 +08:00 |
Marco Castelluccio
|
fdfa683eea
|
Add parameter to VM.compile to generate some debugging statements in the compiled functions
|
2014-10-31 01:43:56 +01:00 |
Marco Castelluccio
|
62ac460623
|
Warn if a function can't be compiled
|
2014-10-31 01:27:39 +01:00 |
Marco Castelluccio
|
435ac7cf5c
|
Fix wording for not supported constant type error
|
2014-10-31 01:21:39 +01:00 |
Marco Castelluccio
|
318f8bd0c9
|
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
Conflicts:
vm.js
|
2014-10-31 01:19:02 +01:00 |
Pin Zhang
|
0c3cf74a2e
|
VM stops if RuntimeException is not handled in a thread.
An error is thrown in context.js:
TypeError: caller is undefined
|
2014-10-30 09:31:31 +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
|
d0665562d9
|
Add missing parenthesis in l2f
|
2014-10-17 11:35:24 -07:00 |
Marco Castelluccio
|
6eafd69a1e
|
Don't generate synchronized checks if a method is not synchronized
|
2014-10-13 10:01:16 -07:00 |
Marco Castelluccio
|
89cb456c23
|
Remove variables from switch/case in VM.compile too
|
2014-10-13 09:52:17 -07:00 |
Marco Castelluccio
|
0db57ce89a
|
Merge commit 'c532ecc14508c543e93ce4ec01ec16f4c39ce202' into jitjit
Conflicts:
vm.js
|
2014-10-13 09:48:59 -07:00 |
Marco Castelluccio
|
1a76a3aa53
|
Merge commit '51d21fcf6922bb22f932c82881c429affed60216' into jitjit
Conflicts:
vm.js
|
2014-10-13 09:40:09 -07:00 |
Marco Castelluccio
|
0810f7149d
|
Merge commit '7db214865011a419a7ecdd22248ce52afa1ef847' into jitjit
Conflicts:
vm.js
|
2014-10-13 09:38:28 -07:00 |
Marco Castelluccio
|
1674677257
|
Use the MethodInfo consumes property in VM.compile
|
2014-10-13 09:35:37 -07:00 |
Marco Castelluccio
|
adbfb7d54b
|
Merge commit '13dbd3bc1fd73cc7f4e8576a7192ced856fbaf7a' into jitjit
Conflicts:
classinfo.js
vm.js
|
2014-10-13 09:34:23 -07:00 |
Myk Melez
|
c532ecc145
|
Merge pull request #433 from marco-c/optimize_resolve_switch
Don't use variables in resolve's switch/case
|
2014-10-13 02:41:39 -07:00 |
Myk Melez
|
51d21fcf69
|
Merge pull request #432 from marco-c/remove_frame_issynchronized
Remove isSynchronized property from Frame now that we have it in MethodInfo
|
2014-10-13 02:34:50 -07:00 |
Marco Castelluccio
|
8bb3f355c1
|
Don't use variables in resolve's switch/case. Fixes #384.
|
2014-10-10 14:53:02 -07:00 |
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 |
Marco Castelluccio
|
a019e3775a
|
Remove some unneeded checks and some unreachable breaks
|
2014-10-10 14:05:44 -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
|
29e57f37dd
|
Merge pull request #414 from mcav/alternate-2
Move alternateImpl detection into MethodInfo constructor.
|
2014-10-09 13:56:15 -07:00 |
Marco Castelluccio
|
ee0bcbcb3b
|
Implement basic JIT
|
2014-10-09 13:46:12 -07:00 |
Marco Castelluccio
|
e55e80d4a5
|
Don't catch exceptions in invoke*
|
2014-10-09 09:40:48 -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 |
Myk Melez
|
dd4f995dbb
|
Merge pull request #409 from mcav/alternate-info
Move alternateImpl detection into MethodInfo constructor.
|
2014-10-08 11:41:10 -07:00 |
Myk Melez
|
07250e77fa
|
Merge pull request #404 from marco-c/remove_check_in_invoke_catch
Remove unneeded check in invoke* bytecode instructions
|
2014-10-08 11:40:10 -07:00 |
Marcus Cavanaugh
|
81e80969b6
|
Move alternateImpl detection into MethodInfo constructor.
|
2014-10-07 11:14:05 -07:00 |
Marco Castelluccio
|
cc82680166
|
Remove unneeded check in invoke* bytecode instructions
|
2014-10-06 18:01: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 |
Marco Castelluccio
|
9761b78aac
|
Fix indentation
|
2014-09-30 19:13:44 -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
|
0162737534
|
Terminate execution when there's only one frame left
|
2014-09-30 18:44:28 -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
|
01d6985889
|
Use 'S' for static, 'I' for non-static
|
2014-09-26 11:48:06 -07:00 |
Marco Castelluccio
|
b71ee629f6
|
Fix all getField callers
|
2014-09-25 21:04:20 -07:00 |
Marco Castelluccio
|
10b9bb3b90
|
Don't check if vfc/vmc are set, because now they're set for all classes. Fixes #342.
|
2014-09-25 19:21:45 -07:00 |
Marco Castelluccio
|
40b99bbf2b
|
Don't call getMethod if the method is already in the virtual method cache
|
2014-09-24 22:59:58 -07:00 |
Marco Castelluccio
|
fa179469c3
|
Store 1 or 0 in the key according to whether the method is static or not
|
2014-09-24 22:51:46 -07:00 |
Marco Castelluccio
|
4021a2b927
|
Remove unused argument from getMethod
|
2014-09-24 22:38:41 -07:00 |
Marco Castelluccio
|
faccf951d9
|
Store the key lazily in methodInfo and pass the key to getMethod
|
2014-09-24 22:35:02 -07:00 |
Myk Melez
|
f588bed0fe
|
move measurement of natives/overrides to Instrument
|
2014-09-24 15:11:46 -07:00 |
Myk Melez
|
bd1b5ab242
|
profile calls to native/override functions
|
2014-09-24 14:50:05 -07:00 |
Myk Melez
|
d72f715dfd
|
test overridding non-native methods
|
2014-09-24 00:06:38 -07:00 |
Myk Melez
|
90e6217f4e
|
add ability to override non-native Java methods
|
2014-09-23 23:50:23 -07:00 |
Myk Melez
|
8f8dd4d174
|
pause on all thread yields; pair pause/resumeHooks calls correctly
|
2014-09-23 01:51:33 -07:00 |