| Index: runtime/vm/exceptions.cc | 
| diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc | 
| index 7cabfefcf4c4ae4c3f530f9f6fe4cb637cf88988..27b3852a661b41583d0cbba8f9a26ab5bc6cd040 100644 | 
| --- a/runtime/vm/exceptions.cc | 
| +++ b/runtime/vm/exceptions.cc | 
| @@ -635,14 +635,6 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { | 
| library = Library::IsolateLibrary(); | 
| class_name = &Symbols::IsolateSpawnException(); | 
| break; | 
| -    case kJavascriptIntegerOverflowError: | 
| -      library = Library::CoreLibrary(); | 
| -      class_name = &Symbols::JavascriptIntegerOverflowError(); | 
| -      break; | 
| -    case kJavascriptCompatibilityError: | 
| -      library = Library::CoreLibrary(); | 
| -      class_name = &Symbols::JavascriptCompatibilityError(); | 
| -      break; | 
| case kAssertion: | 
| library = Library::CoreLibrary(); | 
| class_name = &Symbols::AssertionError(); | 
| @@ -680,15 +672,6 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { | 
| } | 
|  | 
|  | 
| -// Throw JavascriptCompatibilityError exception. | 
| -void Exceptions::ThrowJavascriptCompatibilityError(const char* msg) { | 
| -  const Array& exc_args = Array::Handle(Array::New(1)); | 
| -  const String& msg_str = String::Handle(String::New(msg)); | 
| -  exc_args.SetAt(0, msg_str); | 
| -  Exceptions::ThrowByType(Exceptions::kJavascriptCompatibilityError, exc_args); | 
| -} | 
| - | 
| - | 
| static bool IsLikelyInternalDart2JSCrash(const Stacktrace& stacktrace) { | 
| Function& function = Function::Handle(); | 
| String& name = String::Handle(); | 
|  |