Commit 3a538476 authored by David Renshaw's avatar David Renshaw

Swap declaration order of Compiler::Impl::workspace and Compile::Impl::modules.

parent 49ce5c97
...@@ -320,12 +320,12 @@ private: ...@@ -320,12 +320,12 @@ private:
kj::Arena nodeArena; kj::Arena nodeArena;
// Arena used to allocate nodes and other permanent objects. // Arena used to allocate nodes and other permanent objects.
Workspace workspace;
// The temporary workspace.
std::unordered_map<Module*, kj::Own<CompiledModule>> modules; std::unordered_map<Module*, kj::Own<CompiledModule>> modules;
// Map of parser modules to compiler modules. // Map of parser modules to compiler modules.
Workspace workspace;
// The temporary workspace.
std::unordered_map<uint64_t, Node*> nodesById; std::unordered_map<uint64_t, Node*> nodesById;
// Map of nodes by ID. // Map of nodes by ID.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment