Commit Graph
80 Commits
Author SHA1 Message Date
Rerumu 508fff73ef Use C calls for LuaJIT memory allocation 2021-11-30 21:09:35 -05:00
Rerumu e101290b11 Simplify memory size operation 2021-11-30 20:47:44 -05:00
Rerumu b7dd849eca Update limit max to be reasonable 2021-11-30 20:44:18 -05:00
Rerumu b4901e72e1 Inline LuaJIT reinterpret 2021-11-30 20:43:36 -05:00
Rerumu d2648b2e96 Add number equality to runtime 2021-11-30 17:49:32 -05:00
Rerumu 0ab0a9e921 Fix whitespace consistency 2021-11-30 17:47:10 -05:00
Rerumu e59014bb8d Prefer assertions in runtime 2021-11-30 17:46:20 -05:00
Rerumu c841011328 Add LuaJIT i64 sign extension 2021-11-30 17:35:42 -05:00
Rerumu 76db2b4063 Remove excessive LuaJIT scoping 2021-11-30 15:37:15 -05:00
Rerumu e80f1ffedd Simplify LuaJIT label generation 2021-11-30 15:28:51 -05:00
Rerumu 03a73395be Fix Luau table branching 2021-11-30 03:48:04 -05:00
Rerumu 92e79213fc Rename fuzz targets 2021-11-30 03:29:22 -05:00
Rerumu 96a27c9626 Refactor the codebase and organize files 2021-11-30 03:27:17 -05:00
Rerumu 82e97ad643 Add more fuzz targets 2021-11-28 16:14:07 -05:00
Rerumu cbf212b636 Adjust gitignore 2021-11-28 15:30:55 -05:00
Rerumu dd55770f43 Add fuzz target 2021-11-28 15:30:11 -05:00
Rerumu c323b35961 Fix empty expression evaluation 2021-11-28 15:26:37 -05:00
Rerumu 53bba14c00 Drop unreachable code 2021-11-28 14:47:25 -05:00
Rerumu 7f0158ef00 Improve constant expression generation 2021-11-28 06:46:15 -05:00
Rerumu 16ce3eca98 Refactor transformer interface 2021-11-28 06:40:25 -05:00
Rerumu 21b87f352c Clean up redundant code 2021-11-28 06:39:59 -05:00
Rerumu 16ba82775b Add sign extension support 2021-11-28 03:47:00 -05:00
Rerumu ea639ed420 Add block multi-value support 2021-11-28 03:35:58 -05:00
Rerumu 8d7340af64 Set parity-wasm to latest version 2021-11-28 03:34:21 -05:00
Rerumu a1894e492c Refactor as Rust workspace 2021-11-28 03:33:00 -05:00
Rerumu 185799eecc Satisfy clippy 2021-11-27 04:14:12 -05:00
Rerumu 820588b5e7 Add JIT optimization booster shot 2021-11-27 03:14:01 -05:00
Rerumu 504e2e0ee8 Reorganize some code 2021-11-27 03:13:48 -05:00
Rerumu e9642ef776 Fix wrapping integer operations 2021-11-27 00:43:25 -05:00
Rerumu fa649f26c1 Fix conversion not zeroing upper bits 2021-11-27 00:22:40 -05:00
Rerumu 9126b43b1f Implement truncate operations 2021-11-26 22:31:44 -05:00
Rerumu c0a5d0c7dd Refactor limits emit and memory growing 2021-11-26 20:13:41 -05:00
Rerumu 2746c1e3d1 Fixed LuaJIT shift operations 2021-11-26 18:58:58 -05:00
Rerumu ce59f77f22 Improve runtime localizing 2021-11-26 16:05:03 -05:00
Rerumu 55df4c39ca Improve nomenclature for Transformer 2021-11-26 15:02:11 -05:00
Rerumu 83d3f16b42 Fix dropped memory grow 2021-11-26 14:54:28 -05:00
Rerumu 703e6b8e47 Improve element fill emit 2021-11-26 12:15:32 -05:00
Rerumu 586ebf1ac4 Improve LuaJIT runtime conversions 2021-11-26 12:09:58 -05:00
Rerumu bf7ccdae32 Improve LuaJIT runtime locals 2021-11-24 15:55:52 -05:00
Rerumu c7e4add0c0 Add LuaJIT conversion operations 2021-11-24 02:15:59 -05:00
Rerumu be80da8163 Fix else emit 2021-11-24 02:08:02 -05:00
Rerumu 0fb0aee536 Fix UnOp name order emit 2021-11-24 01:22:18 -05:00
Rerumu 748798d294 Add LuaJIT floating point memory access 2021-11-24 00:52:29 -05:00
Rerumu f9f7379beb Add LuaJIT type reinterpretation 2021-11-24 00:51:29 -05:00
Rerumu 8b52af9651 Fix jump table emit 2021-11-24 00:22:55 -05:00
Rerumu 19922f1a4a Fix floating point emit 2021-11-24 00:22:40 -05:00
Rerumu 387cc1c670 Add u64 division to LuaJIT 2021-11-23 21:02:04 -05:00
Rerumu 2a9c03249c Improve if statement and top-level jump handling 2021-11-23 17:46:12 -05:00
Rerumu 704060703b Organize Luau runtime 2021-11-23 15:24:34 -05:00
Rerumu f4a6cb9c89 Fix LuaJIT 64 bit memory 2021-11-23 15:24:34 -05:00
Rerumu c09d1c7261 Extend LuaJIT runtime 2021-11-23 15:24:34 -05:00
Rerumu 028f953918 Fix copysign emit 2021-11-23 15:24:34 -05:00
Rerumu 3e3f3c813d Extend Luau runtime 2021-11-23 15:24:34 -05:00
Rerumu 2160ad2130 Extend LuaJIT bit operations 2021-11-22 17:12:20 -05:00
Rerumu 8f7007cfc6 Fix indirect calls 2021-11-22 15:25:00 -05:00
Rerumu 57b3c7f22a Implement block returns 2021-11-22 15:16:14 -05:00
Rerumu 30a0589fbe Extend LuaJIT runtime 2021-11-22 05:51:07 -05:00
Rerumu 18b5c57d4c Rewrite the translation layer 2021-11-22 05:25:50 -05:00
Rerumu 5e9aa58261 Bump Rust edition to 2021 2021-11-22 05:22:09 -05:00
Rerumu 2edffde28d Remove dead code 2021-11-18 20:23:53 -05:00
Rerumu 3b02ec21c5 Adjust LuaJIT runtime 2021-11-18 12:51:39 -05:00
Rerumu f449fffe55 Add test for operation localization 2021-11-18 12:51:21 -05:00
Rerumu 1905b40f1b Refactor visitors 2021-11-18 00:13:36 -05:00
Rerumu 610b66e4cb Refactor and optimize memory access 2021-11-18 00:12:41 -05:00
Rerumu f759443802 Rename "translation" to "translator" 2021-11-17 21:45:49 -05:00
Rerumu f00a27a38f Refactor import order 2021-11-17 21:43:43 -05:00
Rerumu 2d9c994917 Refactor editions 2021-11-17 21:33:03 -05:00
Rerumu 97c0ce7419 De-uglify emit into 1 line 2021-11-17 19:57:40 -05:00
Rerumu 9aa0304384 Simplify LuaJIT comparisons and shifts 2021-11-17 02:11:23 -05:00
Rerumu 55dbf8ee32 Implement loading i8 2021-11-17 01:28:57 -05:00
Rerumu 816931b886 Fix runtime not finding memory 2021-11-17 01:09:57 -05:00
Rerumu fc65177226 Rewrite LuaJIT runtime 2021-11-17 00:36:34 -05:00
Rerumu 3cd41fbb08 Refactor Luau runtime 2021-11-17 00:36:25 -05:00
Rerumu 3e9bb2986b Refactor runtime codegen 2021-11-17 00:36:04 -05:00
Rerumu 583f96f857 Fix table indexing 2021-11-17 00:30:07 -05:00
Rerumu f8446971d6 Simplify main 2021-11-17 00:29:06 -05:00
Rerumu 85efc46201 Refactored unaligned access and fixed small issue 2021-10-21 22:15:16 -04:00
Rerumu 679ed0b961 Fixed CallIndirect not fetching correct arity 2021-10-17 14:07:20 -04:00
Rerumu 2b2e5b4012 Fixed Luau branching at end of block 2021-10-16 18:08:42 -04:00
Rerumu b6297463a7 Source added 2021-10-12 01:33:54 -04:00