Commit Graph

191 Commits

Author SHA1 Message Date
Mark McCaskey
ef60f08740 Merge branch 'master' into feature/reference-types 2021-03-23 09:42:34 -07:00
Ivan Enderlin
03486f3b8a feat: Use latest version of loupe. 2021-03-23 13:04:45 +01:00
Ivan Enderlin
44dc884260 feat: Start implementing loupe::MemoryUsage on wasmer::Module. 2021-03-23 13:04:45 +01:00
Ivan Enderlin
4b752ed498 chore: Use loupe 0.1.0. 2021-03-23 11:18:31 +01:00
Ivan Enderlin
1a2dbdaef6 fix(engine-jit) Fix MemoryUsage on Windows. 2021-03-23 09:23:58 +01:00
Ivan Enderlin
2afed4d813 feat: Use latest version of loupe. 2021-03-22 11:43:46 +01:00
Ivan Enderlin
026520998c feat: Start implementing loupe::MemoryUsage on wasmer::Store. 2021-03-22 11:42:28 +01:00
Mark McCaskey
d392ce3cd7 Fix up TODOs and get tests passing again 2021-02-24 13:02:32 -08:00
Mark McCaskey
7ee1e14254 Clean up naming / storage of FuncRefs 2021-02-16 10:51:01 -08:00
Mark McCaskey
72b4a6ed8b Fix memory leak with imported funcrefs 2021-02-16 09:32:42 -08:00
Mark McCaskey
6e3f835db8 Merge branch 'master' into feature/reference-types 2021-02-10 06:36:36 -08:00
Mark McCaskey
6cfcc92d52 Implement further for compiler-cranelift; add ExternRef 2021-02-08 12:49:15 -08:00
Nick Lewycky
9e1cec01be Prepare for 1.0.2 release 2021-02-04 19:44:49 -08:00
Mark McCaskey
ecf891e0ac Add extra layer of indirection for funcref, update tables
This is still a WIP, cranelift is passing spectests but singlepass has 3
failures and LLVM is not implemented correctly
2021-02-03 07:47:25 -08:00
Mark McCaskey
924ffd8797 Prepare for 1.0.1 release 2021-01-12 08:08:19 -08:00
Mark McCaskey
bc73789cc0 Prepare for 1.0.0 release 2021-01-05 06:21:03 -08:00
Mark McCaskey
2d1c03bea0 Prepare for 1.0.0-rc1 release 2020-12-23 11:17:07 -08:00
Mark McCaskey
59df6917d8 Prepare for 1.0.0-beta2 release 2020-12-16 07:41:59 -08:00
Syrus Akbary
1ee0146954 Fix all compilation issues simplifying the code 2020-12-04 15:58:38 -08:00
Syrus Akbary
c3d1ce8040 Fix compilation issue 2020-12-04 15:45:01 -08:00
Syrus Akbary
558a5b6d79 Fix lint 2020-12-04 15:17:38 -08:00
Syrus Akbary
e7bf70ff81 Fixed compilation issue 2020-12-04 15:13:48 -08:00
Syrus
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
Mark McCaskey
947e7d394f Prepare for 1.0.0-beta1 release 2020-12-01 17:15:46 -08:00
losfair
9d8f315d4c Update module info in-place. 2020-11-23 13:42:51 -08:00
Ivan Enderlin
d211ebe2ed doc(engine-jit) Fix a typo. 2020-11-19 10:38:10 +01:00
Ivan Enderlin
e48c0ee65f doc(engine) Explain why calling unwrap is safe here. 2020-11-17 15:58:25 +01:00
Ivan Enderlin
49ea2bf530 chore(compiler) Rename ModuleInfoTranslation.module_translation to .module_translation_state.
The idea is to avoid confusion with th e`ModuleInfoTranslation` type itself.
2020-11-17 15:58:25 +01:00
Nick Lewycky
d441dc01ea Use FunctionExtent for all the rest of the tuples too. 2020-11-06 20:07:34 -08:00
Nick Lewycky
db72d158f9 Merge branch 'master' into todo/function-body-ptr 2020-11-06 20:00:13 -08:00
Nick Lewycky
594dfe2e7f Use a struct instead of a tuple for function extents. 2020-11-06 19:59:59 -08:00
Nick Lewycky
49b0a4a16a Prepare for 1.0.0-alpha5 release. 2020-11-06 11:50:07 -08:00
Nick Lewycky
22187a8dc4 Make FunctionBodyPtr a thin pointer.
This requires keeping the length around and passing it around in a few places that need it.
2020-11-02 12:56:54 -08:00
Syrus
9bd2c47730 Upgraded Cranelift to 0.67 2020-10-29 20:19:16 -07:00
Nick Lewycky
61abc72c9d NFC. Make FunctionBodyPtr hold a const pointer. 2020-10-29 15:18:42 -07:00
Nick Lewycky
df3b1f2ae4 Simplify this loop. 2020-10-12 11:29:05 -07:00
Nick Lewycky
9793d4568a Merge branch 'master' into feature/trampoline-in-artifact 2020-10-08 19:04:28 -07:00
Nick Lewycky
a484765fd6 Move trampolines to artifact in engine-{jit,object-file,dummy}.
Some cleanup per cargo clippy.
2020-10-08 17:33:16 -07:00
Mark McCaskey
61c88be863 Prepare for 1.0.0-alpha4 release 2020-10-08 16:47:14 -07:00
Nick Lewycky
61e5f2c2a1 Adjust comment. 2020-10-05 13:41:21 -07:00
Nick Lewycky
d07d727e69 Fix warning about zero-sized FDEs. 2020-10-05 13:36:31 -07:00
Syrus
27dcd68fee Added extra comment 2020-09-25 16:54:57 -07:00
Syrus
7f4d873af4 Add length check 2020-09-25 16:46:19 -07:00
Syrus
1f95b866ec Add the debug assert back 2020-09-25 14:32:59 -07:00
Syrus
e4e706bbea Register individual FDEs for musl libc 2020-09-25 14:20:36 -07:00
Nick Lewycky
b59f014bed Simplify the asserts, change a loop that drains the first element of a Vec repeatedly to one that drains the right range. 2020-09-16 16:42:47 -07:00
nlewycky
674fd19514 Merge branch 'master' into feature/engine-jit-one-mmap 2020-09-16 13:13:15 -07:00
Nick Lewycky
3553320075 Make each UnwindRegistry owned by its CodeMemory, instead of a Vec<Arc<>>. 2020-09-16 13:07:24 -07:00
Nick Lewycky
c6bec2f23a In engine-jit, load code for each artifact contiguously. 2020-09-16 12:53:30 -07:00
Mark McCaskey
ead9532004 Prepare for 1.0.0-alpha3 release 2020-09-14 13:12:56 -07:00