Index: src/interpreter/bytecode-peephole-optimizer.cc |
diff --git a/src/interpreter/bytecode-peephole-optimizer.cc b/src/interpreter/bytecode-peephole-optimizer.cc |
index 24912a5ce8ed54ba67a551139b9bf60e7ae3eb7f..7ab7bc571d1501440e2b2c80cb0184b8bdb12e0a 100644 |
--- a/src/interpreter/bytecode-peephole-optimizer.cc |
+++ b/src/interpreter/bytecode-peephole-optimizer.cc |
@@ -294,6 +294,8 @@ void BytecodePeepholeOptimizer::TransformToStarIfLoadingNameConstantAction( |
DCHECK_EQ(last()->bytecode(), Bytecode::kLdaConstant); |
DCHECK(!Bytecodes::IsJump(node->bytecode())); |
+ // TODO(5203): Remove this temporary exception. |
+ AllowHandleDereference allow_deref; |
if (GetConstantForIndexOperand(last(), 0)->IsName()) { |
node->replace_bytecode(Bytecode::kStar); |
} |