Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 74445e21b5d89abc4f1f3ff0d0e36fda7443f2b0..c31e800a8c6f445548c73eccb08a204f55eb2f1a 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -231,11 +231,9 @@ MethodRecognizer::Kind MethodRecognizer::RecognizeKind( |
const Function& function) { |
// Only core and math library methods can be recognized. |
const Library& core_lib = Library::Handle(Library::CoreLibrary()); |
- const Library& core_impl_lib = Library::Handle(Library::CoreImplLibrary()); |
const Library& math_lib = Library::Handle(Library::MathLibrary()); |
const Class& function_class = Class::Handle(function.Owner()); |
if ((function_class.library() != core_lib.raw()) && |
- (function_class.library() != core_impl_lib.raw()) && |
(function_class.library() != math_lib.raw())) { |
return kUnknown; |
} |