dart-sdk/runtime
Alexander Markov f49a95fec9 [vm] Reduce Class object size in JIT mode
The following fields in Class objects

  target_instance_size_in_words_
  target_type_arguments_field_offset_in_words_
  target_next_field_offset_in_words_

are only useful when cross-compiling.

This change removes these fields if DART_PRECOMPILER is not defined.

TEST=ci
Change-Id: I45e6e60ad6d0a738e2ac3afd45328209167393ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196222
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-04-22 22:10:06 +00:00
..
bin [vm/ffi] Support Unions 2021-04-15 10:16:27 +00:00
docs [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
include Rereland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-14 12:07:18 +00:00
lib [vm] Native effects 2021-04-09 16:45:13 +00:00
observatory [ VM ] Disable sdk_break_with_mixin_test on AOT bots 2021-04-21 16:59:04 +00:00
observatory_2 [ VM ] Disable sdk_break_with_mixin_test on AOT bots 2021-04-21 16:59:04 +00:00
platform Reland "[vm] Fix V8 snapshot profile handling of the dispatch table." 2021-04-20 11:17:36 +00:00
tests/vm [vm] Re-tighten requirements that the node type be set before writing. 2021-04-22 15:27:38 +00:00
third_party [infra] Update python2 to python3 run_binary_size_analysis script. 2021-04-19 20:14:38 +00:00
tools [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
vm [vm] Reduce Class object size in JIT mode 2021-04-22 22:10:06 +00:00
.clang-tidy [vm] Add runtime/.clang-tidy file 2019-09-05 09:51:13 +00:00
.gitignore
BUILD.gn [vm] Build configs for compressed pointers 2021-01-28 23:15:15 +00:00
codereview.settings
configs.gni Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
CPPLINT.cfg
PRESUBMIT.py [Presubmit] Fixes presubmit for breaking API change. 2020-03-03 13:30:20 +00:00
runtime_args.gni [wasm] Remove deprecated dart_enable_wasm flag. 2021-04-01 22:45:07 +00:00