1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 07:54:13 +00:00
Bruce Mitchener 4b4d6a1b94
Move optable into static, read-only storage. (#295)
Previously, we had a global `optable`, an alias to it, `table`,
and code to initialize it within `dispatch()`. This code would
initialize the whole thing to either `op_ufn` or `native_check`
and then fill in the entries for the individual opcodes.

Now, we have a function-static `optable` which is statically
initialized and placed (by the compiler) into read-only storage.
This eliminates having generated code within `dispatch()` that
initializes it.

Additionally, it was previously 512 elements long with the second
half of it being all `native_check` entries. We index it with a
byte though, so we only need 256 entries, and we can lose the
`native_check` stuff.
2021-01-25 09:26:58 -08:00
..
2021-01-10 17:23:32 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-31 10:29:19 -08:00
2020-12-19 19:08:52 -08:00
2020-12-31 01:28:34 +00:00
2021-01-19 21:23:26 -08:00
cr
2020-08-11 18:39:45 -07:00
2021-01-19 21:23:26 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-08 21:42:11 -08:00
2021-01-19 21:23:26 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-03 21:58:16 -08:00
2021-01-19 21:23:26 -08:00
2021-01-19 21:23:26 -08:00
2021-01-01 08:55:24 -08:00
2021-01-03 21:58:16 -08:00
2021-01-03 21:58:16 -08:00
2021-01-01 08:55:24 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-09 04:55:39 +00:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-18 22:12:41 -08:00
2021-01-19 21:23:26 -08:00
2020-12-19 19:08:52 -08:00
2021-01-24 17:43:16 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-31 00:16:03 +00:00
2021-01-23 18:39:55 +00:00
2021-01-23 18:39:55 +00:00
2020-12-19 19:08:52 -08:00
2021-01-08 21:42:11 -08:00
2021-01-15 16:59:32 +00:00
2021-01-19 21:23:26 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-08 21:42:11 -08:00
2021-01-19 21:23:26 -08:00
2021-01-19 21:23:26 -08:00
2021-01-15 16:59:32 +00:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-19 21:23:26 -08:00
2020-12-19 19:08:52 -08:00
2021-01-09 10:17:03 -08:00
2021-01-03 10:33:31 -08:00
2021-01-05 10:26:22 -08:00
2021-01-15 20:36:37 -08:00
2020-12-19 19:08:52 -08:00
2020-12-31 00:16:03 +00:00
2021-01-15 16:59:32 +00:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2021-01-19 21:23:26 -08:00
2021-01-21 02:19:29 +00:00
2020-12-19 19:08:52 -08:00
2020-12-31 00:16:03 +00:00