diff options
| author | Gaëtan Gilbert | 2019-06-11 11:34:16 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-06-12 14:17:55 +0200 |
| commit | 00fcbf38dcd127e3d2d4f748f215787855abd609 (patch) | |
| tree | fabcbdbe58c7eae35148ad28153e4a96590bff45 /kernel/names.ml | |
| parent | 793a442d240c22f99591388ad31e33fbaef96fb0 (diff) | |
Remove dependency of native_compile on global env for symbols
Instead we get the symbols from a Environ.env.
We make them accessible to the produced code through a reference
managed by the kernel, similar to the return values except inverting
when it's written and when it's read.
Diffstat (limited to 'kernel/names.ml')
| -rw-r--r-- | kernel/names.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/names.ml b/kernel/names.ml index 047a1d6525..af64299424 100644 --- a/kernel/names.ml +++ b/kernel/names.ml @@ -356,6 +356,9 @@ module ModPath = struct end +module DPset = Set.Make(DirPath) +module DPmap = Map.Make(DirPath) + module MPset = Set.Make(ModPath) module MPmap = CMap.Make(ModPath) |
