Commit Graph

145 Commits

Author SHA1 Message Date
Syrus
3050f1fa27 Fixed lint issues 2020-05-18 15:31:11 -07:00
Syrus
ace11e6476 Merge branch 'master' into singlepass
# Conflicts:
#	lib/compiler-singlepass/src/codegen_x64.rs
#	lib/compiler-singlepass/src/common_decl.rs
#	lib/compiler-singlepass/src/emitter_x64.rs
#	lib/compiler-singlepass/src/lib.rs
#	lib/compiler-singlepass/src/machine.rs
#	lib/engine-jit/src/engine.rs
#	lib/engine-jit/src/serialize.rs
2020-05-18 15:16:45 -07:00
losfair
7911986cbe Starting to port singlepass.
# Conflicts:
#	Cargo.lock
2020-05-18 14:55:55 -07:00
losfair
da7fa9e518 Merge remote-tracking branch 'origin/master' into singlepass 2020-05-19 00:53:37 +08:00
losfair
27d715e7b3 Fix call to null table entries. 2020-05-19 00:42:27 +08:00
Syrus
5dfa9faafb Improve compiler names for trampoline functions 2020-05-17 20:32:42 -07:00
losfair
a5f776fc2e Memory/table fixes. 2020-05-16 01:01:45 +08:00
Syrus
1c21e4f927 Make host trampolines work (PoC) 2020-05-13 20:53:54 -07:00
losfair
e2709b5abe Fix emit_cmp. 2020-05-14 02:47:14 +08:00
losfair
04b36ee5c6 Fix order of traps & division traps. 2020-05-14 02:01:15 +08:00
Syrus
01672995f9 Fixed singlepass 2020-05-11 10:52:47 -07:00
losfair
5c8f68d318 Merge remote-tracking branch 'origin/master' into singlepass 2020-05-11 02:59:50 +08:00
losfair
f944a3a111 Resolve review comments 2020-05-11 02:53:09 +08:00
losfair
65a71ac400 Fix import indirection. 2020-05-11 02:17:49 +08:00
losfair
8d0ed702ae Emit trap info & disable multivalue 2020-05-08 01:53:18 +08:00
losfair
c48ebdc8e1 Tables and memory grow/size 2020-05-08 01:23:45 +08:00
losfair
b8e7ad0c2e Proper loading from vmctx for memory & import call trampolines. 2020-05-07 00:55:38 +08:00
losfair
9e93a7988e VMOffsets and global.{get,set}. 2020-05-06 00:48:42 +08:00
Syrus
2240ccc622 Merge branch 'master' into singlepass
# Conflicts:
#	Cargo.lock
2020-05-04 20:40:50 -07:00
Syrus
01ed7d115c Merge branch 'master' into singlepass
# Conflicts:
#	lib/compiler-singlepass/src/compiler.rs
2020-05-04 15:11:07 -07:00
Syrus
0bd6a0dd6b Renamed FuncIndex to FunctionIndex 2020-05-04 13:39:12 -07:00
Syrus
2997be7d88 Renamed FuncType to FunctionType 2020-05-04 13:34:05 -07:00
losfair
b5c96bf426 Fix compilation error after merge 2020-05-04 23:25:25 +08:00
losfair
0ac04336c3 Merge remote-tracking branch 'origin/master' into singlepass 2020-05-04 23:22:05 +08:00
losfair
4d4881b71f Import and export trampolines, relocations, and wiring up everything. 2020-05-04 23:21:19 +08:00
Syrus
759561e0c5 Expose Compiler and CompilerConfig only on translator mode 2020-05-03 21:28:35 -07:00
Syrus
8d3cfa769a Fixed linting 2020-05-03 14:40:29 -07:00
Syrus
ab27b7ff3a Fixed singlepass compilation 2020-05-03 14:37:53 -07:00
Syrus
c5690b5142 Merge branch 'master' into singlepass
# Conflicts:
#	Cargo.lock
#	lib/compiler-singlepass/src/config.rs
2020-05-03 11:50:36 -07:00
losfair
a63a921a17 Wire up parallel compilation. 2020-05-03 23:34:29 +08:00
Syrus
9e107aa90d Added Singlepass README 2020-05-02 16:30:45 -07:00
Syrus
6a06af1b1b Simplified compiler config removing mutable features and target 2020-05-02 15:22:05 -07:00
Syrus
4e36cf987b Make compilers feature-configurable 2020-05-02 15:17:18 -07:00
Syrus
21c5c2b281 Use tracing instead of log 2020-05-01 23:47:48 -07:00
losfair
1180ac4e1c ExceptionCode -> TrapCode 2020-04-30 00:46:04 +08:00
losfair
3f2ea9639a Merge remote-tracking branch 'origin/master' into singlepass 2020-04-30 00:22:40 +08:00
losfair
cb0c5fb60c Sync with master repo, PR #1412. 2020-04-30 00:16:29 +08:00
Syrus
39550bc469 Simplified wasmparser dependencies 2020-04-28 14:26:31 -07:00
Syrus
3d2bb43a93 Updated dependent crate versions 2020-04-27 20:03:44 -07:00
losfair
2fde9c3efc VM placeholders. 2020-04-28 00:46:29 +08:00
losfair
acc652e685 Operator codegen. 2020-04-28 00:46:17 +08:00
losfair
39fe47d600 Codegen helpers. 2020-04-27 23:07:52 +08:00
losfair
aa7e5030e0 Port over more common components. 2020-04-27 23:07:42 +08:00
losfair
4bce29c06d Starting to port singlepass. 2020-04-25 02:00:41 +08:00
Syrus
5eef30c7fa Added Singlepass backend 2020-04-22 14:25:27 -07:00