dart-sdk/pkg/kernel/lib
Samir Jindel c31b9a461d [vm/kernel] Reference constants in Dill by offset into constants table.
Summary:

The constants table contains a concatenation of the variable-length encodings of
each constant used in the serialized component. Previously, we referenced the
constants in the code by index into the constants table, which requires reading
potentially the entire constants table to dereference. Now, we refer to the
constant by the binary offset into the constants table, which allows us to peek
into it in constant time.

Test Plan:

The constants table is used by all the precompiler modes, so the new encoding
will inherit the coverage of the existing encoding.

Results from debug and release precompiler bots are available under the
"cl-linux-try" button.

Change-Id: I4782bc0035d0b0cbd5bd6b9d086561ea601286c8
Reviewed-on: https://dart-review.googlesource.com/55470
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-05-21 15:54:08 +00:00
..
analyzer Start unraveling circularities between analyzer and front_end/kernel. 2017-03-17 05:56:06 -07:00
binary [vm/kernel] Reference constants in Dill by offset into constants table. 2018-05-21 15:54:08 +00:00
interpreter Stop using some deprecated APIs 2018-05-14 08:42:07 +00:00
src Fix some uses of deprecated API 2018-03-15 10:09:23 +00:00
target Fix incorrect handling of NSM forwarders and pull all logic into CFE. (Take 2) 2018-05-15 11:23:32 +00:00
testing Rename Program to Component 2018-03-15 12:22:23 +00:00
text Remove the unused GenericCovariantInterface bit 2018-05-09 15:04:43 +00:00
transformations Reland "[vm/kernel] Enable kernel2kernel "constants" transformation in AOT mode (after running TFA)" 2018-05-16 12:48:38 +00:00
util Move computeStrongComponents utility to pkg/kernel 2018-02-21 12:02:04 +00:00
vm Reland "[vm/kernel] Enable kernel2kernel "constants" transformation in AOT mode (after running TFA)" 2018-05-16 12:48:38 +00:00
application_root.dart Store library paths relative to a given application root folder. 2016-11-30 10:39:48 +01:00
ast.dart [vm/kernel/bytecode] Support closures in bytecode generator 2018-05-15 16:51:06 +00:00
canonical_name.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
class_hierarchy.dart Renamings and updated comments in class hierarchy #2 2018-05-15 10:12:32 +00:00
clone.dart Recognize synthetic catch-clause and unhandled exceptions. 2018-05-02 22:39:56 +00:00
coq_annot.dart [kernel] Cleanup of object model and coq.dart. 2017-09-13 11:43:30 +00:00
core_types.dart Fix incorrect handling of NSM forwarders and pull all logic into CFE. (Take 2) 2018-05-15 11:23:32 +00:00
error_formatter.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
import_table.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
kernel.dart Allow to specify what dill file to initialize from 2018-05-17 06:49:41 +00:00
library_index.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
log.dart [kernel] Initial implementation of Dart Kernel. 2016-04-26 10:39:15 +02:00
naive_type_checker.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
type_algebra.dart Fix instantiate-to-bound algorithm implementation 2018-03-13 19:18:34 +00:00
type_checker.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
type_environment.dart Forbid super-bounded types in constructor invocations 2018-01-29 13:19:23 +00:00
verifier.dart Rename Program to Component 2018-03-15 12:22:23 +00:00
visitor.dart Add partial instantiation support for constant evaluator [PartialInstantiationConstant] 2018-04-25 09:25:28 +00:00