Michael Bebenita
92cea4d8ac
Move optimizing compiled out of runtime build, making it available only ahead of time.
...
Remove unused code.
2015-01-19 23:31:33 -08:00
Michael Bebenita
622e885ce9
Reduce memory allocation.
2015-01-16 00:44:46 -08:00
Brendan Dahl
d6439415db
Add missing newlines.
2015-01-13 16:47:42 -08:00
Michael Bebenita
fca2a2baad
TSify and clean up the rest of the VM, as well as add a closure target.
2014-12-31 12:45:52 -08:00
Michael Bebenita
e9a86c7bd2
Optimize strings some more.
2014-12-23 22:10:31 -08:00
Michael Bebenita
bd572fe285
String optimizations to prevent temporary string allocation.
2014-12-23 21:20:07 -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
fef818f866
Avoid data view, cache strings.
2014-12-18 16:54:09 -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
Brendan Dahl
79e3d9ad8e
Add stack map stubs.
2014-12-04 11:48:04 -08:00
Michael Bebenita
bcefeff226
Trace Java source lines in the interpreter.
2014-11-27 03:28:52 -08:00
Marco Castelluccio
1c002d7f57
Move javaUTF8Decode function to util.js
2014-11-13 22:24:59 +01:00
Eric Rahm
6c583cd690
Attempt to use TextDecoder for parsing mod-UTF-8
...
When reading a string we'll now attempt to use a TextDecoder first. This is
~10X faster than manually parsing. The only time we should need to fallback to
manually decoding is if an embedded nul character is encountered, which is a
very rare occurance.
2014-10-28 13:18:20 -07:00
Andreas Gal
c7adc4b71d
Merge pull request #179 from marco-c/remove_signaturejs
...
Remove classfile/signature.js
2014-09-03 19:19:57 -07:00
Marco Castelluccio
f7678bccd6
Remove classfile/signature.js
2014-09-03 16:45:54 -07:00
Marco Castelluccio
47804f3e81
Fix indentation in reader.js
2014-09-03 16:19:56 -07:00
Marco Castelluccio
ad090deb39
Add link to the JVM documentation
2014-09-03 16:15:04 -07:00
Marco Castelluccio
0901fb7da5
Implement custom decoder for the Java's modified UTF-8
2014-09-03 15:31:57 -07:00
Andreas Gal
20529980c6
parse and ignore deprecated attribute
2014-07-30 17:25:07 -07:00
Andreas Gal
89b3e7bc40
ignore synthetic attribute
2014-07-29 17:34:46 -07:00
Andreas Gal
d7a1f4302d
make code run better in chrome
2014-07-28 19:13:32 -07:00
Andreas Gal
63f758523c
properly parse and resolve interfaces
2014-07-17 23:26:34 -07:00
Andreas Gal
d8b4d71369
fix long constants
2014-07-17 00:42:20 -07:00
Andreas Gal
a9d7d8999d
a bunch of fixes for longs
2014-07-16 22:45:10 -07:00
Andreas Gal
2ec7fa51e0
whitespace fix
2014-07-16 20:57:12 -07:00
Andreas Gal
8603eff020
whitespace fixes
2014-07-16 20:56:04 -07:00
Andreas Gal
25ef4e1b64
more tests
2014-07-16 20:53:54 -07:00
Andreas Gal
1579c9c195
remove some dead code
2014-07-15 19:42:17 -07:00
Andreas Gal
b339dc6f95
put tests into the right package
2014-07-15 16:49:00 -07:00
Andreas Gal
164d91811c
remove some dead code
2014-07-13 15:27:25 -07:00
Andreas Gal
875ef93a73
more classinfo cleanup
2014-07-13 10:37:28 -07:00
Andreas Gal
8eb9e5fd81
more classfile cleanup
2014-07-13 10:04:17 -07:00
Andreas Gal
8df87dd921
split classinfo and classfile some more
2014-07-13 09:52:01 -07:00
Andreas Gal
191585115e
split classinfo and classfile
2014-07-13 09:12:57 -07:00
Andreas Gal
ead498de16
rewrite invocation path
2014-07-13 00:00:11 -07:00
Andreas Gal
135e18ea3e
stop abusing frame as method/class pair and cleanup classfile loading a bit
2014-07-12 22:19:03 -07:00
Andreas Gal
810b917d35
more cleanup, make frames more lazy
2014-07-12 17:51:35 -07:00
Andreas Gal
0316d73506
rename ClassData -> ClassInfo
2014-07-12 16:42:01 -07:00
Andreas Gal
673c224628
rework VM core
2014-07-12 14:07:11 -07:00
Andreas Gal
18798f037d
remove trailing whitespace
2014-07-12 09:48:24 -07:00
Andreas Gal
6ef81f3c09
remove extra white spaces
2014-07-11 21:26:05 -07:00
Andreas Gal
c6b937472d
rename classarea -> classdata
2014-07-09 23:17:03 -07:00
Andreas Gal
8027180356
rename classarea -> classdata
2014-07-09 22:29:51 -07:00
Andreas Gal
7972db1598
use proper String objects for strings
2014-07-09 01:28:03 -07:00
Andreas Gal
888ba71b10
fix exception handling, inject trailing 0 in zipfile.js
2014-07-06 18:16:15 -07:00
Andreas Gal
6583de0099
initial checkin
2014-07-06 01:29:36 -07:00