Chromium Code Reviews| Index: runtime/lib/object.cc |
| =================================================================== |
| --- runtime/lib/object.cc (revision 34480) |
| +++ runtime/lib/object.cc (working copy) |
| @@ -230,4 +230,12 @@ |
| return type.UserVisibleName(); |
| } |
| + |
| +DEFINE_NATIVE_ENTRY(LibraryPrefix_load, 1) { |
| + const LibraryPrefix& prefix = |
| + LibraryPrefix::CheckedHandle(arguments->NativeArgAt(0)); |
| + prefix.LoadLibrary(); |
| + return Bool::Get(true).raw(); |
| +} |
| + |
| } // namespace dart |