| 157 | } |
| 158 | |
| 159 | NodeType NodeVMTWrappers::GetType(Node * node) |
| 160 | { |
| 161 | NodeVMT * vfptr = *reinterpret_cast<NodeVMT **>(node); |
| 162 | auto typeIt = vmtToTypeMap_.find(vfptr); |
| 163 | if (typeIt == vmtToTypeMap_.end()) Fail("Called virtual method on a node that could not be identified"); |
| 164 | return typeIt->second; |
| 165 | } |
| 166 | |
| 167 | NodeVMTWrapper & NodeVMTWrappers::GetWrapper(Node * node) |
| 168 | { |
no test coverage detected