mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
f6900001eb
Remove dead shared snapshot arguments to Dart_CreateIsolateGroup. 6a65ea9cad4b [vm] Remove shared snapshot and reused instructions features. db8370e36147 [gardening] Fix frontend-server dartdevc windows test. 4601bd7bffea Modified supertype check error message to be more descriptive. 0449905e2de6 [CFE] Add a serialization-and-unserialization step to strong test c8b903c2f94f Update CHANGELOG.md 2a12a13d9684 [Test] Skips emit_aot_size_info_flag_test on crossword. b26127fe01a5 [cfe] Add reachability test skeleton
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef FLUTTER_RUNTIME_DART_VM_DATA_H_
|
|
#define FLUTTER_RUNTIME_DART_VM_DATA_H_
|
|
|
|
#include "flutter/fml/macros.h"
|
|
#include "flutter/runtime/dart_snapshot.h"
|
|
|
|
namespace flutter {
|
|
|
|
class DartVMData {
|
|
public:
|
|
static std::shared_ptr<const DartVMData> Create(
|
|
Settings settings,
|
|
fml::RefPtr<DartSnapshot> vm_snapshot,
|
|
fml::RefPtr<DartSnapshot> isolate_snapshot);
|
|
|
|
~DartVMData();
|
|
|
|
const Settings& GetSettings() const;
|
|
|
|
const DartSnapshot& GetVMSnapshot() const;
|
|
|
|
fml::RefPtr<const DartSnapshot> GetIsolateSnapshot() const;
|
|
|
|
private:
|
|
const Settings settings_;
|
|
const fml::RefPtr<const DartSnapshot> vm_snapshot_;
|
|
const fml::RefPtr<const DartSnapshot> isolate_snapshot_;
|
|
|
|
DartVMData(Settings settings,
|
|
fml::RefPtr<const DartSnapshot> vm_snapshot,
|
|
fml::RefPtr<const DartSnapshot> isolate_snapshot);
|
|
|
|
FML_DISALLOW_COPY_AND_ASSIGN(DartVMData);
|
|
};
|
|
|
|
} // namespace flutter
|
|
|
|
#endif // FLUTTER_RUNTIME_DART_VM_DATA_H_
|