dart-sdk/runtime/lib
John McCutchan c692a64e5a Rework how enums are implemented and reloaded
- Enum instances now hold their index and their label. Before the labels were held in a static array to the side and the index was used to look up the label.

- Before and after reload enum instances are now paired (by label) and put into the 'become' table.

Fixes https://github.com/dart-lang/sdk/issues/26877

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2153143002 .
2016-07-15 10:52:20 -07:00
..
array.cc Update range errors to agree on the numbers. 2015-09-11 13:05:36 +02:00
array.dart VM: Remove use of IterableMixinWorkaround from _List, _ImmutableList and _GrowableList. 2014-12-02 10:38:51 +00:00
array_patch.dart Make Iterable.toList more efficient if the length is known. 2016-05-23 10:00:19 +02:00
async_patch.dart Cancel async generator only when it yields 2016-02-09 10:44:57 -08:00
async_sources.gypi - Move timer implementation closer to the rest of message handling. 2015-01-28 00:39:35 +00:00
bigint.dart Sped up hashCode by removing megamorphic call to _identityHashCode. 2016-07-08 15:19:55 -07:00
bool.cc Support 'dart.library.X' env variables in the VM. 2016-02-29 20:58:32 +01:00
bool_patch.dart Sped up hashCode by removing megamorphic call to _identityHashCode. 2016-07-08 15:19:55 -07:00
class_id.cc Keep zone cached in SnapshotReader to allow removing ZoneHandle(Isolate*) interface. 2015-03-19 17:42:40 +00:00
class_id.dart Optimize List.toList/.sublist and List.from on lists. 2014-08-27 08:00:48 +00:00
collection_patch.dart Revert "Make EfficientLength public, as EfficientLengthIterable." 2015-05-29 12:52:45 +02:00
collection_sources.gypi VM-internalize the default Map implementation. 2015-05-28 09:32:54 -07:00
compact_hash.dart VM: Fix _CompactLinkedHashSet performance regression. 2016-03-28 07:44:04 -07:00
convert_patch.dart Make dart:convert strong mode clean. 2016-05-11 16:15:31 +02:00
convert_sources.gypi
core_patch.dart Rework how enums are implemented and reloaded 2016-07-15 10:52:20 -07:00
core_sources.gypi VM: Remove unnecessary _Num class from runtime/lib. 2016-04-08 16:25:52 -07:00
date.cc Fix core lib DateTime in the VM (fixes #19923). 2016-03-30 10:09:58 -07:00
date_patch.dart Fix core lib DateTime in the VM (fixes #19923). 2016-03-30 10:09:58 -07:00
deferred_load_patch.dart Load deferred chunks in the right order. 2014-04-10 08:48:11 +00:00
developer.cc More changes to use #ifndef PRODUCT ... #endif explicitly instead of relying on compiler magic. 2016-07-14 11:13:13 -07:00
developer.dart Improve --trace-service to help track down problems in full_coverage_test. 2016-02-12 13:26:16 -08:00
developer_sources.gypi Add Timeline to dart:developer 2015-10-01 09:30:47 -07:00
double.cc Remove support for pretenuring as it is not fully implemented and is currently turned on for a very specific case (double to string for one byte strings). 2016-07-01 12:59:19 -07:00
double.dart Sped up hashCode by removing megamorphic call to _identityHashCode. 2016-07-08 15:19:55 -07:00
double_patch.dart Make JSON parsing work as a chunked conversion sink. 2014-10-27 12:11:39 +00:00
empty_source.dart
errors.cc Simplify generated code for assert() 2016-06-16 10:44:30 -07:00
errors_patch.dart Simplify generated code for assert() 2016-06-16 10:44:30 -07:00
expando_patch.dart Use WeakMap to support Expando if available. 2016-01-25 12:06:06 +01:00
function.cc Remove signature classes from the VM. 2016-01-19 16:32:59 -08:00
function.dart Remove signature classes from the VM. 2016-01-19 16:32:59 -08:00
function_patch.dart
growable_array.cc Update range errors to agree on the numbers. 2015-09-11 13:05:36 +02:00
growable_array.dart Shrink growable arrays 2016-02-17 13:20:53 -08:00
identical.cc Remove more things 2016-02-22 08:53:11 -08:00
identical_patch.dart
immutable_map.dart Remove stale comment in ImmutableList implementation 2016-01-22 15:53:07 -08:00
integers.cc vm: Generate 'and' instruction for Smi values. 2016-07-04 16:27:57 -07:00
integers.dart Sped up hashCode by removing megamorphic call to _identityHashCode. 2016-07-08 15:19:55 -07:00
integers_patch.dart Add Map.unmodifiable constructor. 2015-05-12 11:09:13 +00:00
internal_patch.dart - Fix Isolate.spawn when running from snapshot. 2016-01-14 23:24:07 -08:00
internal_sources.gypi Add VM internal Dart class 'ClassID' used to manage class-ids of known classes. Next CL: add constant fields corresponding to each class id (smiCid, oneByteStringCid, etc). 2014-06-20 20:56:55 +00:00
invocation_mirror.h Better error message for assignment to final local variables 2014-02-25 18:01:35 +00:00
invocation_mirror_patch.dart Spec says empty namedArguments is const {}, not const <Symbol, dynamic>{}. 2015-09-18 17:05:35 -07:00
isolate.cc JIT precompilated snapshots. 2016-05-04 18:47:36 -07:00
isolate_patch.dart Fix for issue 26555, do not inherit package root and package config from the parent isolate when doing Isolate.spawn 2016-06-17 09:59:15 -07:00
isolate_sources.gypi - Move timer implementation closer to the rest of message handling. 2015-01-28 00:39:35 +00:00
lib_prefix.dart Fix checked mode error 2016-06-08 07:34:55 -07:00
libgen_in.cc - Include sources in gen_snapshot and dart_no_snapshot to allow 2015-11-17 14:58:09 -08:00
linked_hash_map.cc VM-internalize the default Map implementation. 2015-05-28 09:32:54 -07:00
map_patch.dart Make Map constructor external to allow dart2js to specialize it. 2015-09-11 13:06:09 +02:00
math.cc Use symbols when looking up fields in a class 2016-04-07 16:36:35 -07:00
math_patch.dart Remove support for Javascript warnings in the VM. 2016-02-11 09:16:06 -08:00
math_sources.gypi
mirror_reference.dart
mirrors.cc Minor cleanup based on profiler output of CompileParseFunction. 2016-05-04 15:30:56 -07:00
mirrors.h Support isExternal method on MethodMirror in the Dart VM. Not really intended for public consumption. switch to using isExternal and using anonymous. 2015-10-29 19:17:08 -07:00
mirrors_impl.dart - reset 'dirty' flag to false after the libraries mirrors is computed, this ensures that we compute the libraries only when new library modules are loaded and the 'dirty' flag is set to true. 2016-04-29 15:15:19 -07:00
mirrors_patch.dart Move symbol demangling to dart:_internal to remove dart:core dependency on dart:mirrors. 2015-04-24 17:49:58 +00:00
mirrors_sources.gypi
null_patch.dart Sped up hashCode by removing megamorphic call to _identityHashCode. 2016-07-08 15:19:55 -07:00
object.cc Made simple instance-of checks fast for unoptimized code. 2016-07-14 11:11:17 -07:00
object_patch.dart Made simple instance-of checks fast for unoptimized code. 2016-07-14 11:11:17 -07:00
print_patch.dart
profiler.cc Deprecate 'dart:profiler' and move functionality to 'dart:developer' 2015-05-18 11:31:20 -07:00
profiler.dart Initial backend for metrics in Observatory. 2014-07-31 18:27:38 +00:00
profiler_sources.gypi Revert "Remove deprecated dart:profiler library" 2015-11-04 01:59:53 +01:00
regexp.cc - Refactor Symbol allocation to expect a thread parameter. 2016-04-11 16:28:29 -07:00
regexp_patch.dart Simpler regex names: 2016-03-21 17:21:05 -07:00
resource_patch.dart - Implement resource loading via the Resource class. 2015-08-04 15:39:14 -07:00
schedule_microtask_patch.dart
simd128.cc Update range errors to agree on the numbers. 2015-09-11 13:05:36 +02:00
stacktrace.cc Use clustered serialization for full snapshots. 2016-06-29 19:50:06 -07:00
stacktrace.dart - Simplify collection of stack traces. If we determine that a stack 2015-02-19 02:18:53 +00:00
stacktrace.h Print stack trace when Dart_SetReturnValue is passed UnwindError. 2016-02-01 10:46:49 -08:00
stopwatch.cc Refactor monotonic clock interface and use raw tick values in stopwatch 2016-01-05 11:22:20 -08:00
stopwatch_patch.dart Update timer and adjust frequency. 2014-06-23 09:33:59 +00:00
string.cc Remove support for pretenuring as it is not fully implemented and is currently turned on for a very specific case (double to string for one byte strings). 2016-07-01 12:59:19 -07:00
string_buffer_patch.dart Avoid multiple reallocations of StringBuffer._parts 2016-04-18 18:08:16 -07:00
string_patch.dart VM: Optimized code for all of [External]{One|Two}ByteString::codeUnitAt. 2016-05-11 09:29:28 +02:00
symbol_patch.dart Specialize Symbol.hashCode 2016-06-03 15:10:51 -07:00
timeline.cc More #ifndef PRODUCT changes. 2016-07-14 18:27:55 -07:00
timeline.dart Add an intrinsified early out path for Dart timeline calls 2016-05-17 09:45:28 -07:00
timer_impl.dart Use a monotonic clock in the implementation of Timer. 2015-12-11 12:39:56 -08:00
timer_patch.dart - Move timer implementation closer to the rest of message handling. 2015-01-28 00:39:35 +00:00
type_patch.dart Remove recently introduced FunctionType vm class by merging it into class Type. 2016-03-21 14:08:57 -07:00
typed_data.cc Simplify the VM's typed_data constructors. 2016-03-10 09:38:08 +01:00
typed_data.dart Reapply "VM: Add result cid information for recognized methods." 2016-06-02 09:59:48 -07:00
typed_data_sources.gypi
uri.cc
uri_patch.dart Add fast-mode Uri class. 2016-06-30 12:20:15 +02:00
vmservice.cc Fuchsia: Platform specific calls needed to Initialize and Cleanup VM. 2016-07-13 09:12:28 -07:00
vmservice_patch.dart First cut at _spawnUri rpc in the vm service. 2016-07-11 14:25:27 -07:00
vmservice_sources.gypi Properly split dart:_vmservice across sdk and runtime 2015-10-07 13:19:55 -07:00
weak_property.cc
weak_property.dart