| Index: src/interpreter/interpreter-assembler.cc
|
| diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc
|
| index 5f38ea444bc0cbac0897c472b6280ed5c5f2c2ef..fa67a0c29973ac3c92d009e09b604ebf28cd5515 100644
|
| --- a/src/interpreter/interpreter-assembler.cc
|
| +++ b/src/interpreter/interpreter-assembler.cc
|
| @@ -27,7 +27,8 @@ InterpreterAssembler::InterpreterAssembler(Isolate* isolate, Zone* zone,
|
| OperandScale operand_scale)
|
| : CodeStubAssembler(isolate, zone, InterpreterDispatchDescriptor(isolate),
|
| Code::ComputeFlags(Code::BYTECODE_HANDLER),
|
| - Bytecodes::ToString(bytecode), 0),
|
| + Bytecodes::ToString(bytecode),
|
| + Bytecodes::ReturnCount(bytecode)),
|
| bytecode_(bytecode),
|
| operand_scale_(operand_scale),
|
| accumulator_(this, MachineRepresentation::kTagged),
|
| @@ -600,7 +601,7 @@ void InterpreterAssembler::DispatchWide(OperandScale operand_scale) {
|
| DispatchToBytecodeHandlerEntry(target_code_entry, next_bytecode_offset);
|
| }
|
|
|
| -compiler::Node* InterpreterAssembler::InterpreterReturn() {
|
| +void InterpreterAssembler::UpdateInterruptBudgetOnReturn() {
|
| // TODO(rmcilroy): Investigate whether it is worth supporting self
|
| // optimization of primitive functions like FullCodegen.
|
|
|
| @@ -610,10 +611,6 @@ compiler::Node* InterpreterAssembler::InterpreterReturn() {
|
| Int32Sub(Int32Constant(kHeapObjectTag + BytecodeArray::kHeaderSize),
|
| BytecodeOffset());
|
| UpdateInterruptBudget(profiling_weight);
|
| -
|
| - Node* exit_trampoline_code_object =
|
| - HeapConstant(isolate()->builtins()->InterpreterExitTrampoline());
|
| - return DispatchToBytecodeHandler(exit_trampoline_code_object);
|
| }
|
|
|
| Node* InterpreterAssembler::StackCheckTriggeredInterrupt() {
|
|
|