mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #2413 from chinmaygarde/master
Update the Dart VM and wire in the extra kDataSnapshot symbol for the precompiler
This commit is contained in:
commit
a7d461f776
2
DEPS
2
DEPS
@ -26,7 +26,7 @@ vars = {
|
||||
|
||||
# Note: When updating the Dart revision, ensure that all entries that are
|
||||
# dependencies of dart are also updated
|
||||
'dart_revision': 'a5db38467e2ea7658c1b15a33d9b8405ec6c0cb7',
|
||||
'dart_revision': '5322692506e0f1af4e5c83ea8ae994498342466a',
|
||||
'dart_observatory_packages_revision': 'cf90eb9077177d3d6b3fd5e8289477c2385c026a',
|
||||
'dart_root_certificates_revision': 'c3a41df63afacec62fcb8135196177e35fe72f71',
|
||||
|
||||
|
||||
@ -20,10 +20,10 @@ static const char* kDartArgs[] = {
|
||||
|
||||
void InitDartVM() {
|
||||
CHECK(Dart_SetVMFlags(arraysize(kDartArgs), kDartArgs));
|
||||
CHECK(
|
||||
Dart_Initialize(reinterpret_cast<uint8_t*>(&kDartVmIsolateSnapshotBuffer),
|
||||
nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr, nullptr) == nullptr);
|
||||
CHECK(Dart_Initialize(
|
||||
reinterpret_cast<uint8_t*>(&kDartVmIsolateSnapshotBuffer), nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr) == nullptr);
|
||||
}
|
||||
|
||||
Dart_Isolate CreateDartIsolate() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user