summaryrefslogtreecommitdiff
path: root/include/llvm/Instruction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-02 20:21:22 +0000
committerChris Lattner <sabre@nondot.org>2010-04-02 20:21:22 +0000
commit84e679beea11ac55ed7871eec4deaccdf393de3e (patch)
treec7c12d8e81ba80c497669b36c5d44ec098791a0b /include/llvm/Instruction.h
parentb494ccf02ce17318d3f2a7b2d674bec60781fc73 (diff)
downloadllvm-84e679beea11ac55ed7871eec4deaccdf393de3e.tar.gz
llvm-84e679beea11ac55ed7871eec4deaccdf393de3e.tar.bz2
llvm-84e679beea11ac55ed7871eec4deaccdf393de3e.tar.xz
rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h.
This keeps around temporary typedef for clang/llvm-gcc so the build won't break when I commit this :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r--include/llvm/Instruction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 13331e60ed..0b772b0aae 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -32,7 +32,7 @@ class Instruction : public User, public ilist_node<Instruction> {
Instruction(const Instruction &); // Do not implement
BasicBlock *Parent;
- NewDebugLoc DbgLoc; // 'dbg' Metadata cache.
+ DebugLoc DbgLoc; // 'dbg' Metadata cache.
enum {
/// HasMetadataBit - This is a bit stored in the SubClassData field which
@@ -181,10 +181,10 @@ public:
}
/// setDebugLoc - Set the debug location information for this instruction.
- void setDebugLoc(const NewDebugLoc &Loc) { DbgLoc = Loc; }
+ void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; }
/// getDebugLoc - Return the debug location for this node as a DebugLoc.
- const NewDebugLoc &getDebugLoc() const { return DbgLoc; }
+ const DebugLoc &getDebugLoc() const { return DbgLoc; }
private:
/// hasMetadataHashEntry - Return true if we have an entry in the on-the-side