Skip to content

Commit 61b4bbc

Browse files
liamappelbecommit-bot@chromium.org
authored andcommitted
[vm] Set non_nullable_flag() to true
We'll leave the deletion and cleanup of this function until later, so that this CL is as easy to rollback as possible. Bug: #40179 Change-Id: Ie583aaabd117ae06ea27a539c3bc904240a0e6bc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133429 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Liam Appelbe <[email protected]>
1 parent 85083ca commit 61b4bbc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime/vm/dart.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,10 @@ class Dart : public AllStatic {
123123
static Dart_EntropySource entropy_source_callback() {
124124
return entropy_source_callback_;
125125
}
126+
127+
// TODO(dartbug.com/40342): Delete these functions.
126128
static void set_non_nullable_flag(bool value) { non_nullable_flag_ = value; }
127-
static bool non_nullable_flag() { return non_nullable_flag_; }
129+
static bool non_nullable_flag() { return true; }
128130

129131
private:
130132
static void WaitForIsolateShutdown();

0 commit comments

Comments
 (0)