dart-sdk/runtime/lib
Florian Schneider 71cb54714b Reland "VM: Simplify lowering of is-tests.""
This reverts commit d44fec08b0.

Remove special-cases for known types (int, String, num, double, Smi). The generic
lowering into an instance call (_simpleInstanceOf) works just fine for these predefined
types.

Also, remove parameter for negated is-tests. Instead insert explicit negation when.
building the flow graph.

Diff to original CL:
 * Correct number of arguments in invocation of _instanceOf in kernel_to_il.cc.

R=vegorov@google.com
TBR=vegorov@google.com

Review-Url: https://codereview.chromium.org/2748063003 .
2017-03-14 09:19:51 -07:00
..
array.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
array.dart Move methods from internal.Lists that are not used, or only used once. 2017-02-17 12:25:26 +01:00
array_patch.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
async_patch.dart Reland "Track the 'awaiter return' call stack..." 2017-02-28 16:13:41 +01:00
async_sources.gypi - Move timer implementation closer to the rest of message handling. 2015-01-28 00:39:35 +00:00
bigint.dart Fix various nits in VM patch files. 2017-02-17 16:28:57 +01:00
bool.cc Support 'dart.library.X' env variables in the VM. 2016-02-29 20:58:32 +01:00
bool_patch.dart Make the VM's dart:core and dart:async library patches clean. 2016-12-15 10:10:09 +01:00
class_id.cc VM: Restore old implementation of ClassID.cid* fields. 2017-02-16 17:43:42 +01:00
class_id.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
collection_patch.dart Make EfficientLength extend Iterable. 2016-11-28 08:04:04 +01:00
collection_sources.gypi Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
compact_hash.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
convert_patch.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
convert_sources.gypi Made old dart:json library use convert to parse JSON. 2013-08-28 07:56:12 +00:00
core_patch.dart Move _fatal from dart:core to dart:_internal 2017-02-09 12:46:51 +01:00
core_sources.gypi Remove deprecated Resource class from dart:core. 2016-08-26 11:58:04 +02:00
date.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
date_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
deferred_load_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
developer.cc Add getIsolateID to Service class in dart:developer 2016-12-01 12:48:49 -08:00
developer.dart Fix errors in VM patch files. 2017-02-27 08:55:17 +01:00
developer_sources.gypi Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
double.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
double.dart Remove getter p on double in the VM to control fractional precision. 2016-11-09 10:56:55 -08:00
double_patch.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
empty_source.dart - Split Dart core libraries into shared sources and patch sources. 2012-08-13 23:01:20 +00:00
errors.cc Add optional message argument to assert statements in the VM. 2016-12-14 11:05:19 -08:00
errors_patch.dart Fix errors in VM patch files. 2017-02-27 08:55:17 +01:00
expando_patch.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
function.cc Properly handle instantiator when allocating or cloning closure instance. 2017-02-27 14:51:27 -08:00
function.dart Rename Closure instance field type_arguments_ to instantiator_. 2017-02-27 11:14:04 -08:00
function_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
growable_array.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
growable_array.dart Make EfficientLength extend Iterable. 2016-11-28 08:04:04 +01:00
identical.cc Remove more things 2016-02-22 08:53:11 -08:00
identical_patch.dart Use metadata annotation @patch for patch classes 2016-08-09 09:48:03 -07:00
immutable_map.dart Make the VM's dart:core and dart:async library patches clean. 2016-12-15 10:10:09 +01:00
integers.cc Introduce a flag --limit-ints-to-64-bits in the VM in order to investigate the 2017-02-22 09:49:03 -08:00
integers.dart Avoid bigints entering non-bigint gcd implementation. 2016-12-08 07:36:18 +01:00
integers_patch.dart Minor adjustments to patch files 2017-01-27 14:24:06 -08:00
internal_patch.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01: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 clang-format runtime/lib 2016-11-04 12:14:41 -07: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 Reland "VM: Fix memory leaks during isolate spawning" 2017-01-24 12:04:41 +01:00
isolate_patch.dart Fix various nits in VM patch files. 2017-02-17 16:28:57 +01: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 Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
libgen_in.cc Windows: Link library sources into gen_snapshot/dart_bootstrap 2017-02-01 15:55:59 -08:00
linked_hash_map.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
map_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
math.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
math_patch.dart Fix various nits in VM patch files. 2017-02-17 16:28:57 +01:00
math_sources.gypi - Move MathNatives from dart:core to dart:math. 2012-11-16 19:42:02 +00:00
mirror_reference.dart Syntax fix. 2013-09-20 15:54:10 +00:00
mirrors.cc Rename Closure instance field type_arguments_ to instantiator_. 2017-02-27 11:14:04 -08:00
mirrors.h clang-format runtime/lib 2016-11-04 12:14:41 -07:00
mirrors_impl.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
mirrors_patch.dart Reapply "reflectType() dynamic type arguments support (#26012)" 2017-01-10 15:53:21 +01:00
mirrors_sources.gypi Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
null_patch.dart Make the VM's dart:core and dart:async library patches clean. 2016-12-15 10:10:09 +01:00
object.cc Reland "VM: Simplify lowering of is-tests."" 2017-03-14 09:19:51 -07:00
object_patch.dart Reland "VM: Simplify lowering of is-tests."" 2017-03-14 09:19:51 -07:00
print_patch.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
profiler.cc Deprecate 'dart:profiler' and move functionality to 'dart:developer' 2015-05-18 11:31:20 -07:00
profiler.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
profiler_sources.gypi Revert "Remove deprecated dart:profiler library" 2015-11-04 01:59:53 +01:00
regexp.cc VM: Optimize RegExp.matchAsPrefix(...) by generating a sticky RegExp specialization. 2016-11-17 17:46:21 +01:00
regexp_patch.dart VM: Optimize RegExp.matchAsPrefix(...) by generating a sticky RegExp specialization. 2016-11-17 17:46:21 +01:00
schedule_microtask_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
simd128.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
stacktrace.cc Fix missing top frame in exception stacks in product mode 2017-02-09 16:11:22 -08:00
stacktrace.dart - Simplify collection of stack traces. If we determine that a stack 2015-02-19 02:18:53 +00:00
stacktrace.h Track async causal stack traces 2017-02-09 15:39:44 -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 Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
string.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
string_buffer_patch.dart Fix various nits in VM patch files. 2017-02-17 16:28:57 +01:00
string_patch.dart Fix errors in VM patch files. 2017-02-27 08:55:17 +01:00
symbol_patch.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
timeline.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
timeline.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
timer_impl.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01:00
timer_patch.dart Fix more lint style issues in runtime patches. 2017-02-20 14:17:14 +01: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 clang-format runtime/lib 2016-11-04 12:14:41 -07:00
typed_data_patch.dart Fix various nits in VM patch files. 2017-02-17 16:28:57 +01:00
typed_data_sources.gypi Turn the VM's dart:typed_data into a patch 2016-12-22 10:57:21 +01:00
uri.cc Add property base to the Uri class 2013-09-25 13:52:15 +00:00
uri_patch.dart Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
vmservice.cc Hide kernel isolate from isolate list; do not register it either 2017-03-07 08:27:14 +01:00
vmservice_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
vmservice_sources.gypi Properly split dart:_vmservice across sdk and runtime 2015-10-07 13:19:55 -07:00
weak_property.cc clang-format runtime/lib 2016-11-04 12:14:41 -07:00
weak_property.dart Get rid of a lot of () for getters. 2012-09-07 11:50:07 +00:00