projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
PartialInlining.cpp
diff --git
a/lib/Transforms/IPO/PartialInlining.cpp
b/lib/Transforms/IPO/PartialInlining.cpp
index ac88aee45fc41050dbfa66caeeb086c749e606d6..f35f491b7f48d3898d005707fe6386e89825c09d 100644
(file)
--- a/
lib/Transforms/IPO/PartialInlining.cpp
+++ b/
lib/Transforms/IPO/PartialInlining.cpp
@@
-12,7
+12,6
@@
//
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "partialinlining"
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/CFG.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/CFG.h"
@@
-24,6
+23,8
@@
#include "llvm/Transforms/Utils/CodeExtractor.h"
using namespace llvm;
#include "llvm/Transforms/Utils/CodeExtractor.h"
using namespace llvm;
+#define DEBUG_TYPE "partialinlining"
+
STATISTIC(NumPartialInlined, "Number of functions partially inlined");
namespace {
STATISTIC(NumPartialInlined, "Number of functions partially inlined");
namespace {