Skip to content

Commit

Permalink
Fix for renamed API function (#104)
Browse files Browse the repository at this point in the history
is_mapped_object -> is_in_mmtk_spaces
  • Loading branch information
wks authored Mar 22, 2022
1 parent be5114a commit bcdf8e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmtk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ log = {version = "0.4", features = ["max_level_trace", "release_max_level_off"]
# - change branch/rev
# - change repo name
# But other changes including adding/removing whitespaces in commented lines may break the CI.
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "afa2718d7e73ff2b18c3e92826939c525b5d09f1" }
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "cd6d8984c10c294c991dcd5f154ce41073c06ab9" }
# Uncomment the following to build locally - if you change the path locally, do not commit the change in a PR
# mmtk = { path = "../repos/mmtk-core" }

Expand Down
2 changes: 1 addition & 1 deletion mmtk/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub extern "C" fn is_live_object(object: ObjectReference) -> i32 {
#[no_mangle]
// For a syscall that returns bool, we have to return a i32 instead. See https://github.com/mmtk/mmtk-jikesrvm/issues/20
pub extern "C" fn is_mapped_object(object: ObjectReference) -> i32 {
memory_manager::is_mapped_object(object) as i32
memory_manager::is_in_mmtk_spaces(object) as i32
}

#[no_mangle]
Expand Down

0 comments on commit bcdf8e2

Please sign in to comment.