mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Change comments to refer to @malloc and @free instead of %malloc and %free.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
//===- RaiseAllocations.cpp - Convert %malloc & %free calls to insts ------===//
|
//===- RaiseAllocations.cpp - Convert @malloc & @free calls to insts ------===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
@@ -28,7 +28,7 @@ using namespace llvm;
|
|||||||
STATISTIC(NumRaised, "Number of allocations raised");
|
STATISTIC(NumRaised, "Number of allocations raised");
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// RaiseAllocations - Turn %malloc and %free calls into the appropriate
|
// RaiseAllocations - Turn @malloc and @free calls into the appropriate
|
||||||
// instruction.
|
// instruction.
|
||||||
//
|
//
|
||||||
class VISIBILITY_HIDDEN RaiseAllocations : public ModulePass {
|
class VISIBILITY_HIDDEN RaiseAllocations : public ModulePass {
|
||||||
@@ -65,7 +65,7 @@ ModulePass *llvm::createRaiseAllocationsPass() {
|
|||||||
// free functions. If this is the case, grab the method pointers that the
|
// free functions. If this is the case, grab the method pointers that the
|
||||||
// module is using.
|
// module is using.
|
||||||
//
|
//
|
||||||
// Lookup %malloc and %free in the symbol table, for later use. If they don't
|
// Lookup @malloc and @free in the symbol table, for later use. If they don't
|
||||||
// exist, or are not external, we do not worry about converting calls to that
|
// exist, or are not external, we do not worry about converting calls to that
|
||||||
// function into the appropriate instruction.
|
// function into the appropriate instruction.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user