Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 38a0baf8587e9b9f1698461f5989e79fa99f02d6..920f00a830184ba171034eb23c46eb368c8eb7cf 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1368,6 +1368,17 @@ void BytecodeGraphBuilder::VisitThrow( |
} |
+void BytecodeGraphBuilder::VisitReThrow( |
+ const interpreter::BytecodeArrayIterator& iterator) { |
+ FrameStateBeforeAndAfter states(this, iterator); |
+ Node* value = environment()->LookupAccumulator(); |
+ NewNode(javascript()->CallRuntime(Runtime::kReThrow), value); |
+ Node* control = NewNode(common()->Throw(), value); |
+ environment()->RecordAfterState(control, &states); |
+ UpdateControlDependencyToLeaveFunction(control); |
+} |
+ |
+ |
void BytecodeGraphBuilder::BuildBinaryOp( |
const Operator* js_op, const interpreter::BytecodeArrayIterator& iterator) { |
FrameStateBeforeAndAfter states(this, iterator); |