Index: src/interpreter/mkpeephole.cc |
diff --git a/src/interpreter/mkpeephole.cc b/src/interpreter/mkpeephole.cc |
index 270fe83ef9c3a7dcb59d76d6d559f8a0f78be523..9819ce869f44d463ee8d7ab4109eabffad772949 100644 |
--- a/src/interpreter/mkpeephole.cc |
+++ b/src/interpreter/mkpeephole.cc |
@@ -98,6 +98,9 @@ PeepholeActionAndData PeepholeActionTableWriter::LookupActionAndData( |
case Bytecode::kLdaContextSlot: |
return {PeepholeAction::kTransformLdaStarToLdrLdarAction, |
Bytecode::kLdrContextSlot}; |
+ case Bytecode::kLdaLocalContextSlot: |
+ return {PeepholeAction::kTransformLdaStarToLdrLdarAction, |
+ Bytecode::kLdrLocalContextSlot}; |
case Bytecode::kLdaUndefined: |
return {PeepholeAction::kTransformLdaStarToLdrLdarAction, |
Bytecode::kLdrUndefined}; |