summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/function.cpp b/function.cpp
index 04318393..c9314968 100644
--- a/function.cpp
+++ b/function.cpp
@@ -1512,24 +1512,6 @@ set<SSAVariable> Function::GetHighLevelILSSAVariablesIfAvailable()
}
-std::vector<Ref<Component>> Function::GetParentComponents() const
-{
- std::vector<Ref<Component>> components;
-
- size_t count;
- BNComponent** list = BNGetFunctionParentComponents(m_object, &count);
-
- components.reserve(count);
- for (size_t i = 0; i < count; i++)
- {
- Ref<Component> component = new Component(list[i]);
- components.push_back(component);
- }
-
- return components;
-}
-
-
void Function::CreateAutoVariable(
const Variable& var, const Confidence<Ref<Type>>& type, const string& name, bool ignoreDisjointUses)
{