| 1897 | } |
| 1898 | |
| 1899 | int FindVariableID(ILOperand* op) |
| 1900 | { |
| 1901 | auto it = StackVariableNameToStorageID.end(); |
| 1902 | while (it != StackVariableNameToStorageID.begin()) |
| 1903 | { |
| 1904 | it--; |
| 1905 | if (it->ContainsKey(op)) |
| 1906 | return (*it)[op]; |
| 1907 | } |
| 1908 | return -1; |
| 1909 | } |
| 1910 | |
| 1911 | // ***NOTICE***: |
| 1912 | // There is no relation between VariableNameToStorageID and ValueIDToVariableNames. |
no test coverage detected