Index: src/interpreter/mkpeephole.cc |
diff --git a/src/interpreter/mkpeephole.cc b/src/interpreter/mkpeephole.cc |
index 270fe83ef9c3a7dcb59d76d6d559f8a0f78be523..9265e9cc13792b3163d04a02294a9c69fbf99c7f 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::kLdaCurrentContextSlot: |
+ return {PeepholeAction::kTransformLdaStarToLdrLdarAction, |
+ Bytecode::kLdrCurrentContextSlot}; |
case Bytecode::kLdaUndefined: |
return {PeepholeAction::kTransformLdaStarToLdrLdarAction, |
Bytecode::kLdrUndefined}; |