Chromium Code Reviews| Index: runtime/vm/intrinsifier.cc |
| =================================================================== |
| --- runtime/vm/intrinsifier.cc (revision 11181) |
| +++ runtime/vm/intrinsifier.cc (working copy) |
| @@ -58,8 +58,10 @@ |
| // Only core library methods can be intrinsified. |
|
siva
2012/08/23 01:08:37
Ditto.
srdjan
2012/08/23 01:10:46
Done.
|
| 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()); |
| if ((function_class.library() != core_lib.raw()) && |
| - (function_class.library() != core_impl_lib.raw())) { |
| + (function_class.library() != core_impl_lib.raw()) && |
| + (function_class.library() != math_lib.raw())) { |
| return false; |
| } |
| #define FIND_INTRINSICS(test_class_name, test_function_name, destination) \ |