Cleaning up function creation.

This commit is contained in:
Ben Vanik
2013-01-23 22:38:59 -08:00
parent a10a05b6f2
commit 385a4ee23b
3 changed files with 37 additions and 40 deletions

View File

@@ -52,6 +52,7 @@ private:
CodegenFunction* GetCodegenFunction(uint32_t address);
void AddImports();
llvm::Function* CreateFunctionDefinition(const char* name);
void AddMissingImport(sdb::FunctionSymbol* fn);
void AddPresentImport(sdb::FunctionSymbol* fn);
void PrepareFunction(sdb::FunctionSymbol* fn);