| 799 | } |
| 800 | |
| 801 | BfIRTypeEntry* BfIRCodeGen::GetTypeEntry(BfIRTypeEx* type) |
| 802 | { |
| 803 | int typeId = 0; |
| 804 | if (!mTypeToTypeIdMap.TryGetValue(type, &typeId)) |
| 805 | return NULL; |
| 806 | return &GetTypeEntry(typeId); |
| 807 | } |
| 808 | |
| 809 | void BfIRCodeGen::SetResult(int id, llvm::Value* value) |
| 810 | { |