Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index 5d9929e3ae49e2f0f6d8586d3a38a1cf27007227..1cbe35d19925ffb2389bb3ec0fe15622a22f9c8f 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -502,22 +502,24 @@ void InterpreterAssembler::StackCheck() { |
void InterpreterAssembler::Abort(BailoutReason bailout_reason) { |
disable_stack_check_across_call_ = true; |
Node* abort_id = SmiTag(Int32Constant(bailout_reason)); |
- Node* ret_value = CallRuntime(Runtime::kAbort, GetContext(), abort_id); |
+ CallRuntime(Runtime::kAbort, GetContext(), abort_id); |
disable_stack_check_across_call_ = false; |
- // Unreached, but keeps turbofan happy. |
- Return(ret_value); |
} |
void InterpreterAssembler::AbortIfWordNotEqual(Node* lhs, Node* rhs, |
BailoutReason bailout_reason) { |
CodeStubAssembler::Label match(this); |
CodeStubAssembler::Label no_match(this); |
+ CodeStubAssembler::Label end(this); |
Node* condition = WordEqual(lhs, rhs); |
Branch(condition, &match, &no_match); |
Bind(&no_match); |
Abort(bailout_reason); |
+ Goto(&end); |
Bind(&match); |
+ Goto(&end); |
+ Bind(&end); |
} |
void InterpreterAssembler::TraceBytecode(Runtime::FunctionId function_id) { |