Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 43426) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -1384,6 +1384,12 @@ |
| } |
| +DART_EXPORT void Dart_IsolateSetCheckedMode(bool value) { |
| + CHECK_ISOLATE(Isolate::Current()); |
| + Isolate::Current()->set_checked_mode(value); |
| +} |
| + |
| + |
| static uint8_t* ApiReallocate(uint8_t* ptr, |
| intptr_t old_size, |
| intptr_t new_size) { |