| Index: src/interpreter/bytecodes.cc
|
| diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc
|
| index 825014e465613ecb0073f5511ae333931e481ec2..9f126bcb58b67a60c066c834f99fea33beebd9b5 100644
|
| --- a/src/interpreter/bytecodes.cc
|
| +++ b/src/interpreter/bytecodes.cc
|
| @@ -474,11 +474,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, ...) \
|
| @@ -506,6 +501,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);
|
| }
|
|
|