584fd79bc8
Allow weak tables to contain immediate objects (Smis) by adjusting the sentinel value for an empty entry to a value which is never a valid Smi nor heap object. Immediates go into the old-space table, since they also don't need to be updated after a scavenge. Remove the clustered serializer's separate Smi id table. Change-Id: Ia34ebe92be17f6568f0d4e5090e9abf5e77dadb3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168620 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
45 lines
971 B
Plaintext
45 lines
971 B
Plaintext
# Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# This file contains all sources (vm and tests) for the compiler pipeline.
|
|
# Unit test files need to have a "_test" suffix appended to the name.
|
|
heap_sources = [
|
|
"become.cc",
|
|
"become.h",
|
|
"compactor.cc",
|
|
"compactor.h",
|
|
"freelist.cc",
|
|
"freelist.h",
|
|
"heap.cc",
|
|
"heap.h",
|
|
"marker.cc",
|
|
"marker.h",
|
|
"pages.cc",
|
|
"pages.h",
|
|
"pointer_block.cc",
|
|
"pointer_block.h",
|
|
"safepoint.cc",
|
|
"safepoint.h",
|
|
"scavenger.cc",
|
|
"scavenger.h",
|
|
"spaces.h",
|
|
"sweeper.cc",
|
|
"sweeper.h",
|
|
"verifier.cc",
|
|
"verifier.h",
|
|
"weak_code.cc",
|
|
"weak_code.h",
|
|
"weak_table.cc",
|
|
"weak_table.h",
|
|
]
|
|
|
|
heap_sources_tests = [
|
|
"become_test.cc",
|
|
"freelist_test.cc",
|
|
"heap_test.cc",
|
|
"pages_test.cc",
|
|
"scavenger_test.cc",
|
|
"weak_table_test.cc",
|
|
]
|