Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index 2f91bf1b14c76b741136ee3363adb3a5de705899..83c09dbd2eabebcb29cabc2cb5d90902162a4b1c 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -239,7 +239,7 @@ |
/* Non-local flow control */ \ |
V(Throw, AccumulatorUse::kRead) \ |
V(ReThrow, AccumulatorUse::kRead) \ |
- V(Return, AccumulatorUse::kRead) \ |
+ V(Return, AccumulatorUse::kNone) \ |
\ |
/* Generators */ \ |
V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ |
@@ -509,9 +509,6 @@ |
// Returns the size of |operand|. |
static OperandSize SizeOfOperand(OperandType operand, OperandScale scale); |
- // Returns the number of values which |bytecode| returns. |
- static size_t ReturnCount(Bytecode bytecode); |
- |
// Returns true if the bytecode is a conditional jump taking |
// an immediate byte operand (OperandType::kImm). |
static bool IsConditionalJumpImmediate(Bytecode bytecode); |