projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CodeGen: Remove more ilist iterator implicit conversions, NFC
[oota-llvm.git]
/
lib
/
CodeGen
/
LocalStackSlotAllocation.cpp
diff --git
a/lib/CodeGen/LocalStackSlotAllocation.cpp
b/lib/CodeGen/LocalStackSlotAllocation.cpp
index 837842914b4c1e9bbc042348d875de012777f4df..eb60005764c0f35ce16b5023e2a3316969a51449 100644
(file)
--- a/
lib/CodeGen/LocalStackSlotAllocation.cpp
+++ b/
lib/CodeGen/LocalStackSlotAllocation.cpp
@@
-325,7
+325,7
@@
bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {
// Sort the frame references by local offset
array_pod_sort(FrameReferenceInsns.begin(), FrameReferenceInsns.end());
- MachineBasicBlock *Entry =
Fn.begin
();
+ MachineBasicBlock *Entry =
&Fn.front
();
unsigned BaseReg = 0;
int64_t BaseOffset = 0;