Reoganize Function/BasicBlock creation
[frida/frida.git] / src / core / Function.cxx
index e9bb173374301703bf0ef3e0c4a928dee0ad79ea..539192c5fd6f2fb2cb90e914c39acf17749d1042 100644 (file)
@@ -4,12 +4,9 @@
 
 #include <iostream>
 
-Function::Function(const std::string& name, uint64_t start_address,
-                   InformationManager* manager)
+Function::Function(uint64_t start_address, InformationManager* manager)
        : start_address(start_address)
-       , manager(manager) {
-       setName(name);
-}
+       , manager(manager) {}
 
 
 void Function::setName(const std::string& new_name) {