diff --git a/dyninstAPI/src/inst-aarch64.C b/dyninstAPI/src/inst-aarch64.C index 212ef56b8f..5bbde8021e 100644 --- a/dyninstAPI/src/inst-aarch64.C +++ b/dyninstAPI/src/inst-aarch64.C @@ -170,44 +170,6 @@ void restoreSPR(codeGen &gen, Register scratchReg, int sprnum, int stkOffset) { insnCodeGen::generate(gen, insn); } -//////////////////////////////////////////////////////////////////// -//Generates instructions to save link register onto stack. -// Returns the number of bytes needed to store the generated -// instructions. -// The instruction storage pointer is advanced the number of -// instructions generated. -void saveLR(codeGen &gen, //Instruction storage pointer - Register scratchReg, //Scratch register - int stkOffset) //Offset from stack pointer -{ - assert(0); //Not implemented - -} - -//////////////////////////////////////////////////////////////////// -//Generates instructions to restore link register from stack. -// Returns the number of bytes needed to store the generated -// instructions. -// The instruction storage pointer is advanced the number of -// instructions generated. -// -void restoreLR(codeGen &gen, //Instruction storage pointer - Register scratchReg, //Scratch register - int stkOffset) //Offset from stack pointer -{ - assert(0); //Not implemented - -} - -////////////////////////////////////////////////////////////////////////// -//Writes out a `br' instruction -// -void resetBR(AddressSpace *p, //Process to write instruction into - Address loc) //Address in process to write into -{ - assert(0); //Not implemented -} - void saveRegisterAtOffset(codeGen &gen, Register reg, int save_off) { diff --git a/dyninstAPI/src/inst-aarch64.h b/dyninstAPI/src/inst-aarch64.h index 46f884479d..b1290c7c98 100644 --- a/dyninstAPI/src/inst-aarch64.h +++ b/dyninstAPI/src/inst-aarch64.h @@ -126,14 +126,6 @@ void restoreSPR(codeGen &gen, int sprnum, int stkOffset); -void saveLR(codeGen &gen, - Register scratchReg, - int stkOffset); - -void restoreLR(codeGen &gen, - Register scratchReg, - int stkOffset); - void saveRegister(codeGen &gen, Register reg, int save_off);