| 148 | } |
| 149 | |
| 150 | NodeType NodeVMTWrappers::GetType(Node * node) |
| 151 | { |
| 152 | NodeVMT * vfptr = *reinterpret_cast<NodeVMT **>(node); |
| 153 | auto typeIt = vmtToTypeMap_.find(vfptr); |
| 154 | if (typeIt == vmtToTypeMap_.end()) Fail("Called virtual method on a node that could not be identified"); |
| 155 | return typeIt->second; |
| 156 | } |
| 157 | |
| 158 | NodeVMTWrapper & NodeVMTWrappers::GetWrapper(Node * node) |
| 159 | { |
no test coverage detected