Index: runtime/bin/loader.cc |
diff --git a/runtime/bin/loader.cc b/runtime/bin/loader.cc |
index cdf370b2a11f4c0b7187dc955fe41a73a197d7ee..92da2ed1743262e60557a05a4b104ead1a4307fb 100644 |
--- a/runtime/bin/loader.cc |
+++ b/runtime/bin/loader.cc |
@@ -140,7 +140,7 @@ void Loader::Init(const char* package_root, |
// Keep in sync with loader.dart. |
const intptr_t _Dart_kInitLoader = 4; |
- Dart_Handle request = Dart_NewList(8); |
+ Dart_Handle request = Dart_NewList(9); |
Dart_ListSetAt(request, 0, trace_loader ? Dart_True() : Dart_False()); |
Dart_ListSetAt(request, 1, Dart_NewInteger(Dart_GetMainPortId())); |
Dart_ListSetAt(request, 2, Dart_NewInteger(_Dart_kInitLoader)); |
@@ -155,6 +155,8 @@ void Loader::Init(const char* package_root, |
Dart_ListSetAt(request, 7, (root_script_uri == NULL) |
? Dart_Null() |
: Dart_NewStringFromCString(root_script_uri)); |
+ Dart_ListSetAt(request, 8, Dart_NewBoolean(Dart_IsReloading())); |
+ |
bool success = Dart_Post(loader_port, request); |
ASSERT(success); |