| Index: src/compiler/bytecode-branch-analysis.h
|
| diff --git a/src/compiler/bytecode-branch-analysis.h b/src/compiler/bytecode-branch-analysis.h
|
| index 0ef33b640c36feb52ebd3fba24889f96e0e08b4a..41ef0f6d84e9e84d0887053ee62b1ea371618034 100644
|
| --- a/src/compiler/bytecode-branch-analysis.h
|
| +++ b/src/compiler/bytecode-branch-analysis.h
|
| @@ -57,8 +57,14 @@ class BytecodeBranchAnalysis BASE_EMBEDDED {
|
| return sites != nullptr && sites->size() > 0;
|
| }
|
|
|
| + // Adds an additional implicit branch from a throw-site at {throw_offset} to
|
| + // the corresponding exception handler at {handler_offset}. Note that such a
|
| + // branch must be a forward branch and has to target a known handler.
|
| + void AddExceptionalBranch(int throw_offset, int handler_offset);
|
| +
|
| private:
|
| void AddBranch(int origin_offset, int target_offset);
|
| + void AnalyzeExceptionHandlers();
|
|
|
| Zone* zone() const { return zone_; }
|
| Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; }
|
|
|