| Index: src/interpreter/bytecodes.cc
|
| diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc
|
| index 525136a95ff7115ac71923b9b04cd79463161728..e0c90f8ab970e43370b94855547adef3ea66550b 100644
|
| --- a/src/interpreter/bytecodes.cc
|
| +++ b/src/interpreter/bytecodes.cc
|
| @@ -477,6 +477,11 @@
|
| }
|
|
|
| // static
|
| +bool Bytecodes::IsLdaSmiOrLdaZero(Bytecode bytecode) {
|
| + return bytecode == Bytecode::kLdaSmi || bytecode == Bytecode::kLdaZero;
|
| +}
|
| +
|
| +// static
|
| bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) {
|
| switch (bytecode) {
|
| #define CASE(Name, ...) \
|
| @@ -501,11 +506,6 @@
|
| default:
|
| return false;
|
| }
|
| -}
|
| -
|
| -// static
|
| -bool Bytecodes::PutsNameInAccumulator(Bytecode bytecode) {
|
| - return bytecode == Bytecode::kToName || bytecode == Bytecode::kTypeOf;
|
| }
|
|
|
| // static
|
|
|