diff options
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 031730a..25be14f 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -39,7 +39,7 @@ public: // inline const BasicBlock *getParent() const { return Parent; } inline BasicBlock *getParent() { return Parent; } - bool hasSideEffects() const { return false; } // Memory & Call insts = true + virtual bool hasSideEffects() const { return false; } // Memory & Call insts // --------------------------------------------------------------------------- // Subclass classification... getInstType() returns a member of |