Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 53f1b65755beaa3cbaa3ada0086830d60529bc27..a3264e8e0104e3e1d3c3cf8fea79e83392512e92 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1545,7 +1545,7 @@ class HStackCheck: public HTemplateInstruction<1> { |
// The stack check eliminator might try to eliminate the same stack |
// check instruction multiple times. |
if (IsLinked()) { |
- DeleteFromGraph(); |
+ DeleteAndReplaceWith(NULL); |
} |
} |