Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index a2f4ed4f47f6b56ff5cd87cdc66af4b68a9d7860..dd80cad4cfd839c6d8e19e109077d299645180ee 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -75,6 +75,7 @@ void SubKindOperand<kOperandKind, kNumCachedOperands>::SetUpCache() { |
template <InstructionOperand::Kind kOperandKind, int kNumCachedOperands> |
void SubKindOperand<kOperandKind, kNumCachedOperands>::TearDownCache() { |
delete[] cache; |
+ cache = NULL; |
} |