Commit Graph

37 Commits

Author SHA1 Message Date
Syrus Akbary
91875fef06 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	src/webassembly/module.rs
2018-11-18 13:09:34 -08:00
Syrus Akbary
7977d09fc7 Merge branch 'master' into fix/table-import-memory-repr-rebased
# Conflicts:
#	.circleci/config.yml
#	install.sh
#	src/build_spectests.rs
#	src/linkers/emscripten/abort.rs
#	src/linkers/emscripten/mod.rs
#	src/linkers/mod.rs
#	src/main.rs
#	src/webassembly/instance.rs
#	src/webassembly/memory.rs
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-17 01:01:47 -08:00
Syrus Akbary
ac2d605472 Added Instance options, automatically mock missing imports
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/mod.rs
2018-11-17 00:37:45 -08:00
Steve Akinyemi
df482667aa Fix table and memory import and improve memory storage 2018-11-16 16:55:49 +01:00
Syrus Akbary
a9e46a02d3 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-15 19:40:45 -08:00
Syrus Akbary
5c0e404d96 Refactored math intrinsics into its own module 2018-11-15 15:06:12 -08:00
Syrus Akbary
1faaad7f72 Autoformat files with cargo fmt 2018-11-15 13:31:37 -08:00
Syrus Akbary
cdbd27275c Improved errors formatting 2018-11-15 00:51:18 -08:00
Syrus Akbary
adf6d298b6 Trying to upgrade Cranelift to 0.23 2018-11-14 23:10:35 -08:00
Syrus Akbary
278dff0fa6 Added Instance options, automatically mock missing imports 2018-11-13 19:44:24 -08:00
Steve Akinyemi
2fe528aa57 Add utility print function 2018-11-07 13:52:31 +01:00
Steve Akinyemi
df0feb9b7f Update spectests 2018-11-07 11:57:28 +01:00
Syrus Akbary
e7b4d06ec0 Fixed all Rust code warnings 2018-11-06 15:51:01 +01:00
Syrus Akbary
ca6050e18b Fixed instantiate_streaming references 2018-10-24 12:36:43 +02:00
Syrus Akbary
d4a21c0343 Added unimplemented instantiateStreaming function 2018-10-24 11:56:42 +02:00
Syrus Akbary
6fce21e4d5 Added first tests for the vmctx (memory usage) 2018-10-18 19:01:09 +02:00
Syrus Akbary
6534939005 Make import object non optional 2018-10-17 17:14:35 +02:00
Syrus Akbary
e97b47e147 Added ImportObject structure. Added integration tests 2018-10-17 16:08:51 +02:00
Syrus Akbary
c834f6b33e Function imports now fully working 2018-10-17 11:23:41 +02:00
Syrus Akbary
dd0f1b1a2d Improved instance functions 2018-10-15 15:58:06 +02:00
Syrus Akbary
1482648219 Added module.info.exports for O(1) retrieval 2018-10-15 13:45:44 +02:00
Syrus Akbary
714c27b502 Fixed used architecture 2018-10-15 12:44:07 +02:00
Syrus Akbary
8d790d78f9 Improved formatting 2018-10-15 03:03:00 +02:00
Syrus Akbary
78cf7800e5 Added function compilation 2018-10-15 02:48:59 +02:00
Syrus Akbary
e7788645d7 Added Module.verify function 2018-10-15 00:25:11 +02:00
Syrus Akbary
a9a580acee Formatted files 2018-10-14 23:48:59 +02:00
Syrus Akbary
adbcf89470 Refactored instantiate function to return Module and Instance 2018-10-14 22:23:48 +02:00
Syrus Akbary
59e9c7fe29 Improved module structure. Removed unnecessary files 2018-10-14 22:10:53 +02:00
Syrus Akbary
e16dcfe232 Renamed from ModuleInstance to Module 2018-10-14 21:41:59 +02:00
Syrus Akbary
cc9caff8d5 Improved ModuleInstance automatic compilation 2018-10-14 21:13:19 +02:00
Syrus Akbary
8bd6657e84 environment fully working 2018-10-14 20:37:42 +02:00
Syrus Akbary
ac9edf39e6 Improved instance 2018-10-14 13:59:11 +02:00
Syrus Akbary
47215837fa Trying to port functions over 2018-10-13 19:22:57 +02:00
Syrus Akbary
39bf85e0ea Improved tests 2018-10-13 15:31:56 +02:00
Syrus Akbary
c8d4efaada Added ExecFunc 2018-10-12 12:39:33 +02:00
Syrus Akbary
b4a09a2e94 Improved tests 2018-10-12 02:45:09 +02:00
Syrus Akbary
9bca6940b3 First working version of the interpreter 2018-10-11 21:29:36 +02:00