Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 3adca6bc24bf7d88db97cfeff5dd0de0e0a488b3..745177a7f5be39b4116f07022ae22e12a92e426d 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -165,10 +165,6 @@ class BytecodeGenerator final : public AstVisitor { |
void RecordStoreToRegister(Register reg); |
Register LoadFromAliasedRegister(Register reg); |
- // Methods for tracking try-block nesting. |
- bool IsInsideTryCatch() const { return try_catch_nesting_level_ > 0; } |
- bool IsInsideTryFinally() const { return try_finally_nesting_level_ > 0; } |
- |
// Initialize an array of temporary registers with consecutive registers. |
template <size_t N> |
void InitializeWithConsecutiveRegisters(Register (®isters)[N]); |
@@ -215,8 +211,6 @@ class BytecodeGenerator final : public AstVisitor { |
RegisterAllocationScope* register_allocator_; |
ZoneVector<BytecodeLabel> generator_resume_points_; |
Register generator_state_; |
- int try_catch_nesting_level_; |
- int try_finally_nesting_level_; |
}; |
} // namespace interpreter |