80 Commits

Author SHA1 Message Date
Volker Berlin
cf55b7c52e translate slot index to position index 2017-04-09 22:45:52 +02:00
Volker Berlin
68aaa5c589 add getPosition() to LocalVariable 2017-04-09 22:21:47 +02:00
Volker Berlin
14dc89aacb Implements "add" for all data types 2017-04-09 20:45:23 +02:00
Volker Berlin
e698ba3607 Implements "add" for all data types 2017-04-09 18:46:27 +02:00
Volker Berlin
119d5ed7f4 add "add" operations 2017-04-09 18:44:25 +02:00
Volker Berlin
71ce4c1856 Add more primitive type mappings 2017-04-09 18:43:29 +02:00
Volker Berlin
a3807680b7 add sourceFile to WasmException 2017-04-09 18:18:53 +02:00
Volker Berlin
5acae6b103 formatting 2017-04-09 13:05:34 +02:00
Volker Berlin
f7b2cd5fd8 tests for float and double constants 2017-04-09 13:02:51 +02:00
Volker Berlin
0328322724 Add support for floating constants 2017-04-09 12:44:01 +02:00
Volker Berlin
cd2c51fc0a use little endian for floating number 2017-04-09 12:41:47 +02:00
Volker Berlin
dc4067c745 Change newline encoding to unix to handle the JGit bugs 2017-04-09 12:40:48 +02:00
Volker Berlin
20ddb355a9 add writeFloat() and writeDouble() 2017-04-09 11:56:22 +02:00
Volker Berlin
cbb9d58d6e add error tests 2017-04-08 21:18:27 +02:00
Volker Berlin
19cfeedabe use ScriptEngine.testParams() 2017-04-08 21:16:57 +02:00
Volker Berlin
1d1fbb80d6 add method testParams() 2017-04-08 21:14:57 +02:00
Volker Berlin
e69fe9c073 extract the method evalWasm() 2017-04-08 20:43:41 +02:00
Volker Berlin
1b6d1b7ecc Add try catch to execution errors 2017-04-08 20:16:39 +02:00
Volker Berlin
92a878b5bf add support for long const 2017-04-08 18:48:45 +02:00
Volker Berlin
2766f8170a complete const codes 2017-04-08 18:14:41 +02:00
Volker Berlin
301f49c2f4 add getConstantPool() 2017-04-08 18:09:06 +02:00
Volker Berlin
53a8820a1f set executable rights 2017-04-04 21:45:42 +02:00
Volker Berlin
dfa09eb972 more debug output on testing 2017-04-04 21:30:12 +02:00
Volker Berlin
f3f4b50eff pass parameter array as function parameter list 2017-04-04 21:19:37 +02:00
Volker Berlin
a485d5be7b Add a first runtime test. 2017-04-04 21:06:26 +02:00
Volker Berlin
d28b833cb7 Add a downloader for spider monkey 2017-04-04 20:53:29 +02:00
Volker Berlin
8eca0b491a Rename the class more generic 2017-04-04 20:51:50 +02:00
Volker Berlin
7a49b9fda9 add a script for spider monkey 2017-04-04 20:51:10 +02:00
Volker Berlin
7383bd8f1f Add a list of script engines 2017-04-04 20:50:16 +02:00
Volker Berlin
18841cf83d Add junit rule for testing with node. 2017-04-02 22:26:53 +02:00
Volker Berlin
ffafeea189 more op codes 2017-04-02 19:40:42 +02:00
Volker Berlin
b80553886b add method addFile(URL) 2017-04-02 13:50:01 +02:00
Volker Berlin
b2e17e272b Add task nodeVersion and set system property node.dir 2017-04-02 10:06:52 +02:00
Volker Berlin
7d0f42c225 add method compileToBinary(File) 2017-04-02 10:04:23 +02:00
Volker Berlin
7add526da1 write methods with Export annotation as exported. 2017-03-31 20:43:57 +02:00
Volker Berlin
ec93b799b9 Add parser for annotations 2017-03-31 20:40:49 +02:00
Volker Berlin
ec1fc643c2 Add export annotation to mark methods for export 2017-03-31 20:39:31 +02:00
Volker Berlin
3e87ca8d6b Add external kinds 2017-03-31 20:38:03 +02:00
Volker Berlin
cbfe1e49fd Handle line endings automatically for java files 2017-03-26 22:18:32 +02:00
Volker Berlin
f3a0cd8d6f prepare for later testing with Node.js 2017-03-26 22:14:28 +02:00
Volker Berlin
6de8d441b3 Write locals to text format. 2017-03-26 16:49:07 +02:00
Volker Berlin
212e18ccfa Fix IndexOutOfBoundsException if there are no local variables. 2017-03-26 16:23:41 +02:00
Volker Berlin
92dc727962 Write locals to binary format. 2017-03-26 13:40:50 +02:00
Volker Berlin
a5eee6aa7d Add method reset() 2017-03-26 11:46:46 +02:00
Volker Berlin
527f3d2bc7 Prevent endless loop in error case. 2017-03-26 11:41:21 +02:00
Volker Berlin
43cb89f546 add size() method 2017-03-26 11:39:06 +02:00
Volker Berlin
f9a7d13c57 add getSize() methods 2017-03-26 11:25:59 +02:00
Volker Berlin
fe01f4cfdb Link to webassembly.org 2017-03-26 11:25:02 +02:00
Volker Berlin
8e1364fa9f remove debug code 2017-03-24 22:49:37 +01:00
Volker Berlin
49060e1e87 Add compileToBinary() to the public interface 2017-03-24 22:48:28 +01:00