| 1908 | } |
| 1909 | |
| 1910 | BfIRValue BfModule::GetStringObjectValue(int strId, bool define, bool force) |
| 1911 | { |
| 1912 | BfIRValue* objValue; |
| 1913 | if (mStringObjectPool.TryGetValue(strId, &objValue)) |
| 1914 | return *objValue; |
| 1915 | |
| 1916 | auto stringPoolEntry = mContext->mStringObjectIdMap[strId]; |
| 1917 | return GetStringObjectValue(stringPoolEntry.mString, define, force); |
| 1918 | } |
| 1919 | |
| 1920 | BfIRValue BfModule::GetStringObjectValue(const StringImpl& str, bool define, bool force) |
| 1921 | { |
no test coverage detected