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