Mercurial > hg > CbC > CbC_gcc
comparison gcc/go/gofrontend/escape.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
327 // Child node, used only in indirect node, and expression node representing | 327 // Child node, used only in indirect node, and expression node representing |
328 // slicing an array. | 328 // slicing an array. |
329 Node* child_; | 329 Node* child_; |
330 | 330 |
331 // Cache all the Nodes created via Node::make_node to make the API simpler. | 331 // Cache all the Nodes created via Node::make_node to make the API simpler. |
332 static std::map<Named_object*, Node*> objects; | 332 static Unordered_map(Named_object*, Node*) objects; |
333 static std::map<Expression*, Node*> expressions; | 333 static Unordered_map(Expression*, Node*) expressions; |
334 static std::map<Statement*, Node*> statements; | 334 static Unordered_map(Statement*, Node*) statements; |
335 | 335 |
336 // Collection of all NODE_INDIRECT Nodes, used for reclaiming memory. This | 336 // Collection of all NODE_INDIRECT Nodes, used for reclaiming memory. This |
337 // is not a cache -- each make_indirect_node will make a fresh Node. | 337 // is not a cache -- each make_indirect_node will make a fresh Node. |
338 static std::vector<Node*> indirects; | 338 static std::vector<Node*> indirects; |
339 }; | 339 }; |