summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
index 36032599b0c..efdc59a9cdd 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
@@ -50,9 +50,6 @@ class MachineIRBuilder {
return *TII;
}
- /// Current insertion point for new instructions.
- MachineBasicBlock::iterator getInsertPt();
-
public:
/// Getter for the function we currently build.
MachineFunction &getMF() {
@@ -66,6 +63,9 @@ public:
return *MBB;
}
+ /// Current insertion point for new instructions.
+ MachineBasicBlock::iterator getInsertPt();
+
/// Setters for the insertion point.
/// @{
/// Set the MachineFunction where to build instructions.
OpenPOWER on IntegriCloud