| Index: src/interpreter/mkpeephole.cc
|
| diff --git a/src/interpreter/mkpeephole.cc b/src/interpreter/mkpeephole.cc
|
| index d89390d45d125f9ca2d6dfaf619ce911794bdcb6..482823abb2af602ee8f51727100690830828cc8c 100644
|
| --- a/src/interpreter/mkpeephole.cc
|
| +++ b/src/interpreter/mkpeephole.cc
|
| @@ -109,10 +109,10 @@ PeepholeActionAndData PeepholeActionTableWriter::LookupActionAndData(
|
| // ToName optimizations: remove unnecessary ToName bytecodes.
|
| if (current == Bytecode::kToName) {
|
| if (last == Bytecode::kLdaConstant) {
|
| - return {PeepholeAction::kElideCurrentIfLoadingNameConstantAction,
|
| + return {PeepholeAction::kTransformToStarIfLoadingNameConstantAction,
|
| Bytecode::kIllegal};
|
| } else if (Bytecodes::PutsNameInAccumulator(last)) {
|
| - return {PeepholeAction::kElideCurrentAction, Bytecode::kIllegal};
|
| + return {PeepholeAction::kChangeBytecodeAction, Bytecode::kStar};
|
| }
|
| }
|
|
|
|
|