| 2628 | |
| 2629 | |
| 2630 | bool FunctionViewType::IsValidForView(BinaryView* view) const |
| 2631 | { |
| 2632 | if (type != HighLevelLanguageRepresentationFunctionGraph) |
| 2633 | return true; |
| 2634 | Ref<LanguageRepresentationFunctionType> type = LanguageRepresentationFunctionType::GetByName(name); |
| 2635 | if (!type) |
| 2636 | return false; |
| 2637 | return type->IsValid(view); |
| 2638 | } |
| 2639 | |
| 2640 | |
| 2641 | bool FunctionViewType::operator==(const FunctionViewType& other) const |