mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Put the assignment back at the top of this method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3135,13 +3135,13 @@ public:
|
|||||||
/// BeginFunction - Gather pre-function debug information. Assumes being
|
/// BeginFunction - Gather pre-function debug information. Assumes being
|
||||||
/// emitted immediately after the function entry point.
|
/// emitted immediately after the function entry point.
|
||||||
void BeginFunction(MachineFunction *MF) {
|
void BeginFunction(MachineFunction *MF) {
|
||||||
|
this->MF = MF;
|
||||||
|
|
||||||
if (!ShouldEmitDwarfDebug()) return;
|
if (!ShouldEmitDwarfDebug()) return;
|
||||||
|
|
||||||
if (TimePassesIsEnabled)
|
if (TimePassesIsEnabled)
|
||||||
DebugTimer->startTimer();
|
DebugTimer->startTimer();
|
||||||
|
|
||||||
this->MF = MF;
|
|
||||||
|
|
||||||
// Begin accumulating function debug information.
|
// Begin accumulating function debug information.
|
||||||
MMI->BeginFunction(MF);
|
MMI->BeginFunction(MF);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user