@@ -1989,10 +1989,6 @@ class GraphEntryInstr : public BlockEntryWithInitialDefs {
19891989 virtual intptr_t SuccessorCount () const ;
19901990 virtual BlockEntryInstr* SuccessorAt (intptr_t index) const ;
19911991
1992- void AddCatchEntry (CatchBlockEntryInstr* entry) { catch_entries_.Add (entry); }
1993-
1994- CatchBlockEntryInstr* GetCatchEntry (intptr_t index);
1995-
19961992 void AddIndirectEntry (IndirectEntryInstr* entry) {
19971993 indirect_entries_.Add (entry);
19981994 }
@@ -2037,17 +2033,11 @@ class GraphEntryInstr : public BlockEntryWithInitialDefs {
20372033
20382034 const ParsedFunction& parsed_function () const { return parsed_function_; }
20392035
2040- const GrowableArray<CatchBlockEntryInstr*>& catch_entries () const {
2041- return catch_entries_;
2042- }
2043-
20442036 const GrowableArray<IndirectEntryInstr*>& indirect_entries () const {
20452037 return indirect_entries_;
20462038 }
20472039
2048- bool HasSingleEntryPoint () const {
2049- return catch_entries ().is_empty () && unchecked_entry () == nullptr ;
2050- }
2040+ bool HasSingleEntryPoint () const { return unchecked_entry () == nullptr ; }
20512041
20522042 PRINT_BLOCK_HEADER_TO_SUPPORT
20532043 DECLARE_CUSTOM_SERIALIZATION (GraphEntryInstr)
@@ -2065,7 +2055,6 @@ class GraphEntryInstr : public BlockEntryWithInitialDefs {
20652055 FunctionEntryInstr* normal_entry_ = nullptr ;
20662056 FunctionEntryInstr* unchecked_entry_ = nullptr ;
20672057 OsrEntryInstr* osr_entry_ = nullptr ;
2068- GrowableArray<CatchBlockEntryInstr*> catch_entries_;
20692058 // Indirect targets are blocks reachable only through indirect gotos.
20702059 GrowableArray<IndirectEntryInstr*> indirect_entries_;
20712060 const intptr_t osr_id_;
0 commit comments