From c023be29a4efbcea096427029a610c12e6c2b2ac Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 22 Oct 2001 13:52:03 +0000 Subject: [PATCH] Use class MachineCodeForMethod to print machine code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 2 +- lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 43ea5a5cd0f..c99f1a1c550 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters() updateMachineCode(); if (DEBUG_RA) { - PrintMachineInstructions(Meth); + Meth->getMachineCode().dump(); printMachineCode(); // only for DEBUGGING } } diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 43ea5a5cd0f..c99f1a1c550 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters() updateMachineCode(); if (DEBUG_RA) { - PrintMachineInstructions(Meth); + Meth->getMachineCode().dump(); printMachineCode(); // only for DEBUGGING } }