From 8b6821732e71c5d1da0a5a5956589ba651375443 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sat, 28 Jul 2001 04:40:15 +0000 Subject: [PATCH] Make a function const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 85f5c0f4296..978af62c314 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -47,7 +47,7 @@ public: // --------------------------------------------------------------------------- // Machine code accessors... // - inline MachineCodeForVMInstr &getMachineInstrVec() { + inline MachineCodeForVMInstr &getMachineInstrVec() const { return *machineInstrVec; }