File tree 4 files changed +13
-13
lines changed
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ log = "*"
27
27
# - change branch
28
28
# - change repo name
29
29
# But other changes including adding/removing whitespaces in commented lines may break the CI.
30
- mmtk = { git = " https://github.com/mmtk/mmtk-core.git" , rev = " a02803b4104519ff2289234101a2dd8ceedd1bc7 " }
30
+ mmtk = { git = " https://github.com/mmtk/mmtk-core.git" , rev = " 56b2521d2b99848ee0613a0a5288fe6d81b754ba " }
31
31
# Uncomment the following and fix the path to mmtk-core to build locally
32
32
# mmtk = { path = "../repos/mmtk-core" }
33
33
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ pub struct V8;
51
51
///
52
52
/// TODO: We start with Address to transition from the old API.
53
53
/// We should define an edge type suitable for V8.
54
- pub type V8Edge = Address ;
54
+ pub type V8Slot = Address ;
55
55
56
56
impl VMBinding for V8 {
57
57
type VMObjectModel = object_model:: VMObjectModel ;
@@ -60,8 +60,8 @@ impl VMBinding for V8 {
60
60
type VMActivePlan = active_plan:: VMActivePlan ;
61
61
type VMReferenceGlue = reference_glue:: VMReferenceGlue ;
62
62
63
- type VMEdge = V8Edge ;
64
- type VMMemorySlice = mmtk:: vm:: edge_shape :: UnimplementedMemorySlice < V8Edge > ;
63
+ type VMSlot = V8Slot ;
64
+ type VMMemorySlice = mmtk:: vm:: slot :: UnimplementedMemorySlice < V8Slot > ;
65
65
66
66
const MAX_ALIGNMENT : usize = 32 ;
67
67
}
Original file line number Diff line number Diff line change 1
1
use mmtk:: util:: opaque_pointer:: * ;
2
2
use mmtk:: util:: ObjectReference ;
3
- use mmtk:: vm:: EdgeVisitor ;
4
3
use mmtk:: vm:: RootsWorkFactory ;
5
4
use mmtk:: vm:: Scanning ;
5
+ use mmtk:: vm:: SlotVisitor ;
6
6
use mmtk:: Mutator ;
7
- use V8Edge ;
7
+ use V8Slot ;
8
8
use V8 ;
9
9
10
10
pub struct VMScanning { }
11
11
12
12
impl Scanning < V8 > for VMScanning {
13
- fn scan_object < EV : EdgeVisitor < V8Edge > > (
13
+ fn scan_object < EV : SlotVisitor < V8Slot > > (
14
14
_tls : VMWorkerThread ,
15
15
_object : ObjectReference ,
16
16
_edge_visitor : & mut EV ,
@@ -25,12 +25,12 @@ impl Scanning<V8> for VMScanning {
25
25
fn scan_roots_in_mutator_thread (
26
26
_tls : VMWorkerThread ,
27
27
_mutator : & ' static mut Mutator < V8 > ,
28
- _factory : impl RootsWorkFactory < V8Edge > ,
28
+ _factory : impl RootsWorkFactory < V8Slot > ,
29
29
) {
30
30
unimplemented ! ( )
31
31
}
32
32
33
- fn scan_vm_specific_roots ( _tls : VMWorkerThread , _factory : impl RootsWorkFactory < V8Edge > ) {
33
+ fn scan_vm_specific_roots ( _tls : VMWorkerThread , _factory : impl RootsWorkFactory < V8Slot > ) {
34
34
unimplemented ! ( )
35
35
}
36
36
You can’t perform that action at this time.
0 commit comments