mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
[vm] Reland NNBD flag flip
Bug: https://github.com/dart-lang/sdk/issues/40179 Change-Id: I3ab5e1f5a0ee69e9850910eee59611eb4583e498 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134601 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
This commit is contained in:
parent
9ec978eb4f
commit
130de1a837
1 changed files with 1 additions and 7 deletions
|
@ -126,13 +126,7 @@ class Dart : public AllStatic {
|
|||
|
||||
// TODO(dartbug.com/40342): Delete these functions.
|
||||
static void set_non_nullable_flag(bool value) { non_nullable_flag_ = value; }
|
||||
static bool non_nullable_flag() {
|
||||
#ifdef DART_BUILT_WITH_NNBD_FLAG
|
||||
return true;
|
||||
#else
|
||||
return non_nullable_flag_;
|
||||
#endif
|
||||
}
|
||||
static bool non_nullable_flag() { return true; }
|
||||
|
||||
private:
|
||||
static void WaitForIsolateShutdown();
|
||||
|
|
Loading…
Reference in a new issue