dart-sdk/runtime/lib
Régis Crelier e2e290b4cf [VM/nnbd] Simplify NNBDMode enum class.
NNBDMode does not reflect the semantics (legacy or nnbd) of type tests anymore.
Instead, the semantics are derived from the value of the strong mode flag.
This required one function to be specialized, namely the implementation of
'null is Type' in weak mode in an opted-in library, which still requires
nnbd semantics although run in weak mode.
Relevant changes are in object.h and object.cc:
- methods NNBD_NullIsInstanceOf and NNBD_IsTopType are new.
- methods IsNullType, IsTopType, and IsNeverType are modified.

Change-Id: I36cd43d93d2cfabd110cbcc6b26487a583bb089d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130444
Commit-Queue: Régis Crelier <regis@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2020-01-08 19:35:00 +00:00
..
array.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
async.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
async_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
bool.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
class_id.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
collection_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
convert_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
core_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
date.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
developer.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
developer_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
double.cc Add various missing argument checks to dart:io natives. 2019-08-01 23:32:40 +00:00
errors.cc [vm] Replace ^= assignments with = where possible 2019-05-01 00:04:44 +00:00
ffi.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
ffi_dynamic_library.cc [vm/ffi] DynamicLibrary.process() and DynamicLibrary.executable() 2019-08-19 14:24:01 +00:00
ffi_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
function.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
growable_array.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
identical.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
integers.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
internal_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
invocation_mirror.h
isolate.cc [vm/concurrency] Split up IsolateReloadContext into IsolateReloadContext/IsolateGroupReloadContext 2019-11-15 14:08:45 +00:00
isolate_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
libgen_in.cc
linked_hash_map.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
math.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
math_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
mirrors.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
mirrors.h [VM] Implement isExtensionMember in MethodMirror and VariableMirror 2019-10-09 00:27:30 +00:00
mirrors_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
object.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
profiler.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
profiler_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
regexp.cc Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
simd128.cc [ VM / dart:typed_data ] Fixed issue where null could be passed for simd types in AOT 2019-12-09 15:29:27 +00:00
stacktrace.cc [SDK] Adds non-eager async stack frame collector. 2019-11-26 11:51:27 +00:00
stacktrace.h
stopwatch.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
string.cc [vm, compiler] Consistently produce OutOfMemoryErrors for large variable-length object allocations. 2019-09-30 20:19:03 +00:00
timeline.cc [vm, timeline] Following switch from Duration events to Begin-End event pairs, avoid separate native call transitions to query the monotonic and thread clocks. 2020-01-02 23:13:06 +00:00
typed_data.cc [vm, compiler] Consistently produce OutOfMemoryErrors for large variable-length object allocations. 2019-09-30 20:19:03 +00:00
typed_data_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
uri.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00
vmservice.cc [vm] Add --show-invisible-isolates. 2019-09-25 21:41:55 +00:00
vmservice_sources.gni Fix sources to source_set 2019-05-21 17:01:48 +00:00
wasm.cc [vm] Wasm memory exports, and emscripten hello world 2019-10-01 18:19:56 +00:00
wasm_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
weak_property.cc [vm] refactor native entry and native entry type arguments 2018-12-13 19:29:26 +00:00