Commit Graph

989 Commits

Author SHA1 Message Date
Rett Berg
2fbd38bd5d fix some minor typos in ARCHITECTURE (#148) 2019-02-06 18:07:46 -08:00
Mackenzie Clark
ac286b708b
create the windows io mod and link printf (#144) 2019-02-06 17:56:01 -08:00
Mackenzie Clark
0a7b9b26b8
let the compiler deduce types in syscalls (#145) 2019-02-06 17:06:05 -08:00
Mackenzie Clark
f13a45a5bc
link time function and create alias for clockid_t (#146) 2019-02-06 16:40:02 -08:00
Lachlan Sneff
8fe9b7eac2
Add caching. (#134)
* Allow a module to have a different signature registry than the process-specific

* Add core ability to build compiled code caches

* Remove timing printouts

* Serialize/Deserialize memories to reduce copies

* Work more on api

* Relocate local functions relatively before external functions

* Fix incorrect definition in test

* merge errors caused by merge

* Fix emscripten compile

* Fix review comments
2019-02-06 16:26:45 -08:00
Lachlan Sneff
2f2f86a4de
Add feature flag to output debug information while running wasm (#147)
* Generate debug info during execution

* feature cfg debug output
2019-02-06 15:43:27 -08:00
Mackenzie Clark
d975a4c487
allow failures (#143) 2019-02-06 09:25:43 -08:00
Brandon Fish
9e62c19268
Merge pull request #141 from wasmerio/feature/fix-emtests-memalign
Make memalign optional if the wasm doesn't export it
2019-02-06 11:04:45 -06:00
Brandon Fish
2b55606d3c Add at_init emscripten_environ_constructor 2019-02-06 00:11:31 -06:00
Brandon Fish
b86acab3e4 Fix debug statement 2019-02-05 23:48:05 -06:00
Brandon Fish
3cd81d4119 Fix lua emscripten imports 2019-02-05 23:39:12 -06:00
Brandon Fish
9d16faab9d Make memalign optional if the wasm doesn't export it 2019-02-05 23:24:07 -06:00
Syrus Akbary
30e5ba36d7
Merge pull request #139 from wasmerio/feature/em-missing-imports
Emscritpen update signatures and add missing imports
2019-02-05 17:38:41 -07:00
Syrus Akbary
0f0e1d0aa5
Merge branch 'master' into feature/em-missing-imports 2019-02-05 17:30:38 -07:00
Mackenzie Clark
7bd609fd58
memory fixes for windows (#138) 2019-02-05 16:07:55 -08:00
Brandon Fish
c11f18b09c Update signatures and add missing imports 2019-02-05 17:25:51 -06:00
Syrus Akbary
cb941ea7d3
Merge pull request #114 from wasmerio/fix/emscripten-translate
Emscripten update to new runtime
2019-02-05 13:36:41 -07:00
Lachlan Sneff
c10383c382 Fix example 2019-02-05 12:01:31 -08:00
Lachlan Sneff
271e68d88b Run fmt 2019-02-05 11:56:36 -08:00
Lachlan Sneff
308d9dde3f Fix compilation 2019-02-05 11:54:30 -08:00
Lachlan Sneff
cee248ae89 Update emscripten memory macro 2019-02-05 10:35:15 -08:00
Lachlan Sneff
8a8290b155 Add touch-ups to new memory api 2019-02-05 10:20:04 -08:00
Lachlan Sneff
f75006c062 Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into fix/emscripten-translate 2019-02-04 23:08:46 -08:00
Lachlan Sneff
00db5410c5 Change memory access api again 2019-02-04 23:07:58 -08:00
Brandon Fish
1322446f04 Fix compilation 2019-02-04 18:46:10 -06:00
Mackenzie Clark
cc3c9b6df3
make spectests compile in emscripten update PR (#137) 2019-02-04 16:26:32 -08:00
Mackenzie Clark
ad9dff5fd0 use the fully qualified name for Ctx 2019-02-04 15:33:57 -08:00
Mackenzie Clark
765357e35d pass import object by reference in some spectests 2019-02-04 15:33:45 -08:00
Lachlan Sneff
563cda7ba2 Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into fix/emscripten-translate 2019-02-04 15:08:10 -08:00
Lachlan Sneff
7fce447276 Change memory api 2019-02-04 15:07:32 -08:00
Mackenzie Clark
5f753f727c
Merge branch 'master' into fix/emscripten-translate 2019-02-04 15:05:43 -08:00
Mackenzie Clark
6a7c78d65a this name should match the function name 2019-02-04 15:01:43 -08:00
Mackenzie Clark
d231d404cb extern is no longer needed cause macro magic 2019-02-04 15:01:28 -08:00
Mackenzie Clark
73a8619bc5 do not need to dereference an enum 2019-02-04 15:01:12 -08:00
Mackenzie Clark
c771f2e677 fix more cases of passing imports by reference to instantiate 2019-02-04 15:00:57 -08:00
Mackenzie Clark
d82155f558 pass reference to imports object when instantiating 2019-02-04 14:26:48 -08:00
Mackenzie Clark
e688b374a6
fix some typos (#136) 2019-02-04 10:24:44 -08:00
Lachlan Sneff
dcc75b98ba Fix some tests 2019-02-02 16:02:28 -08:00
Lachlan Sneff
6a66ec3407 Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into fix/emscripten-translate 2019-02-02 15:58:43 -08:00
Lachlan Sneff
ccd43df767 Instantiate takes reference 2019-02-02 15:58:33 -08:00
Lachlan Sneff
312d70e345
Merge branch 'master' into fix/emscripten-translate 2019-02-02 15:29:59 -08:00
Lachlan Sneff
eba66f3b33 Add typed functions and weird type parameter things 2019-02-02 15:28:50 -08:00
Syrus
b1a7642773 Fixed immutable globals assertion 2019-02-01 14:00:07 -08:00
Syrus
6c33aa5803 Make emscripten compile again 2019-02-01 13:27:00 -08:00
Lachlan Sneff
ad1034b78c Fix lint 2019-02-01 13:22:49 -08:00
Lachlan Sneff
631fc8d124 Use WasmExternType for VarArgs 2019-02-01 13:18:43 -08:00
Lachlan Sneff
79c4566165 Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into feature/better-type-support 2019-02-01 13:13:12 -08:00
Lachlan Sneff
c0a17f73bf Add wasm extern type trait 2019-02-01 13:10:59 -08:00
Brandon Fish
54fdbf8813 Fix compilation error var name 2019-01-31 20:20:58 -06:00
Syrus
8725fef474 Adapted all emscripten import functions 2019-01-31 18:10:25 -08:00