Chromium Code Reviews

Unified Diff: src/interpreter/bytecodes.cc

Issue 2169813002: [interpreter] Add output register to ToName (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@addregouts
Patch Set: fix unittests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/interpreter/bytecodes.cc
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc
index 525136a95ff7115ac71923b9b04cd79463161728..b255ea1dba4b5e32e308d3f95f91c6ce98909ef1 100644
--- a/src/interpreter/bytecodes.cc
+++ b/src/interpreter/bytecodes.cc
@@ -505,7 +505,7 @@ bool Bytecodes::IsPrefixScalingBytecode(Bytecode bytecode) {
// static
bool Bytecodes::PutsNameInAccumulator(Bytecode bytecode) {
- return bytecode == Bytecode::kToName || bytecode == Bytecode::kTypeOf;
+ return bytecode == Bytecode::kTypeOf;
}
// static

Powered by Google App Engine