Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: src/interpreter/mkpeephole.cc

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/mkpeephole.cc
diff --git a/src/interpreter/mkpeephole.cc b/src/interpreter/mkpeephole.cc
index 9265e9cc13792b3163d04a02294a9c69fbf99c7f..3fc32bc792bca9e10a10cd9923898ba120fc1673 100644
--- a/src/interpreter/mkpeephole.cc
+++ b/src/interpreter/mkpeephole.cc
@@ -86,12 +86,6 @@ PeepholeActionAndData PeepholeActionTableWriter::LookupActionAndData(
// load so can be elided.
if (current == Bytecode::kStar) {
switch (last) {
- case Bytecode::kLdaNamedProperty:
- return {PeepholeAction::kTransformLdaStarToLdrLdarAction,
- Bytecode::kLdrNamedProperty};
- case Bytecode::kLdaKeyedProperty:
- return {PeepholeAction::kTransformLdaStarToLdrLdarAction,
- Bytecode::kLdrKeyedProperty};
case Bytecode::kLdaGlobal:
return {PeepholeAction::kTransformLdaStarToLdrLdarAction,
Bytecode::kLdrGlobal};
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698