| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index dcce26340944b8a52fb5d48a566c4a3d8b09fc52..160ce06f5f89e10d8f19d9ec938aae89c7229e37 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -1751,6 +1751,17 @@ void Interpreter::DoThrow(compiler::InterpreterAssembler* assembler) {
|
| }
|
|
|
|
|
| +// ReThrow
|
| +//
|
| +// Re-throws the exception in the accumulator.
|
| +void Interpreter::DoReThrow(compiler::InterpreterAssembler* assembler) {
|
| + Node* exception = __ GetAccumulator();
|
| + __ CallRuntime(Runtime::kReThrow, exception);
|
| + // We shouldn't ever return from a throw.
|
| + __ Abort(kUnexpectedReturnFromThrow);
|
| +}
|
| +
|
| +
|
| // Return
|
| //
|
| // Return the value in the accumulator.
|
|
|