| 4105 | } |
| 4106 | |
| 4107 | bool BeMCContext::IsLive(BeVTrackingList* liveRegs, int origVRegIdx, BeMCRemapper& regRemaps) |
| 4108 | { |
| 4109 | // Check the whole remap chain to determine liveness |
| 4110 | int vregIdx = regRemaps.GetHead(origVRegIdx); |
| 4111 | while (vregIdx != -1) |
| 4112 | { |
| 4113 | if (mLivenessContext.IsSet(liveRegs, vregIdx)) |
| 4114 | return true; |
| 4115 | vregIdx = regRemaps.GetNext(vregIdx); |
| 4116 | } |
| 4117 | return false; |
| 4118 | } |
| 4119 | |
| 4120 | void BeMCContext::AddRegRemap(int from, int to, BeMCRemapper& regRemaps, bool allowRemapToDbgVar) |
| 4121 | { |