Index: src/compiler/memory-optimizer.cc |
diff --git a/src/compiler/memory-optimizer.cc b/src/compiler/memory-optimizer.cc |
index abf5ef5ae969c79bae2d6c802ad99e5eba7cb0a1..97c4362728882c6aed05456820e070ce645da09e 100644 |
--- a/src/compiler/memory-optimizer.cc |
+++ b/src/compiler/memory-optimizer.cc |
@@ -92,6 +92,8 @@ void MemoryOptimizer::VisitNode(Node* node, AllocationState const* state) { |
case IrOpcode::kIfException: |
case IrOpcode::kLoad: |
case IrOpcode::kStore: |
+ case IrOpcode::kRetain: |
+ case IrOpcode::kUnsafePointerAdd: |
return VisitOtherEffect(node, state); |
default: |
break; |