Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index f6413ba07f96995158a12e9a1d799a50c4cfa551..62c263b4a96bec1f1827c5b6d21ee8dc1f95777c 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -466,10 +466,6 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { |
library = Library::CoreLibrary(); |
class_name = &Symbols::NullThrownError(); |
break; |
- case kIllegalJSRegExp: |
- library = Library::CoreLibrary(); |
- class_name = &Symbols::IllegalJSRegExpException(); |
- break; |
case kIsolateSpawn: |
library = Library::IsolateLibrary(); |
class_name = &Symbols::IsolateSpawnException(); |