Skip to content

Commit bf5278b

Browse files
liamappelbecommit-bot@chromium.org
authored andcommitted
Revert "[vm] Set non_nullable_flag() to true"
This reverts commit 61b4bbc. Reason for revert: Performance regressions Original change's description: > [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]> [email protected],[email protected] # Not skipping CQ checks because original CL landed > 1 day ago. Bug: #40179 Change-Id: I7e1d81286d769faeacec7dc17612ff18d157f114 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134060 Reviewed-by: Liam Appelbe <[email protected]> Commit-Queue: Liam Appelbe <[email protected]>
1 parent 13e3189 commit bf5278b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

runtime/vm/dart.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,8 @@ 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.
128126
static void set_non_nullable_flag(bool value) { non_nullable_flag_ = value; }
129-
static bool non_nullable_flag() { return true; }
127+
static bool non_nullable_flag() { return non_nullable_flag_; }
130128

131129
private:
132130
static void WaitForIsolateShutdown();

0 commit comments

Comments
 (0)