Index: src/interpreter/bytecode-peephole-optimizer.cc |
diff --git a/src/interpreter/bytecode-peephole-optimizer.cc b/src/interpreter/bytecode-peephole-optimizer.cc |
index dc2d33b2ede6695aaac1719098e362217f595ee4..0f18d1b8c1053a1a3dd7f51cef53c9f2ea34453b 100644 |
--- a/src/interpreter/bytecode-peephole-optimizer.cc |
+++ b/src/interpreter/bytecode-peephole-optimizer.cc |
@@ -201,10 +201,10 @@ void TransformLdaStarToLdrLdar(Bytecode new_bytecode, BytecodeNode* const last, |
bool BytecodePeepholeOptimizer::ChangeLdaToLdr(BytecodeNode* const current) { |
if (current->bytecode() == Bytecode::kStar) { |
switch (last_.bytecode()) { |
- case Bytecode::kLoadIC: |
+ case Bytecode::kLdaNamedProperty: |
TransformLdaStarToLdrLdar(Bytecode::kLdrNamedProperty, &last_, current); |
return true; |
- case Bytecode::kKeyedLoadIC: |
+ case Bytecode::kLdaKeyedProperty: |
TransformLdaStarToLdrLdar(Bytecode::kLdrKeyedProperty, &last_, current); |
return true; |
case Bytecode::kLdaGlobal: |