Skip to content

Commit

Permalink
Merge pull request alpha-unito#56 from droccom/master
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrocco authored Feb 9, 2019
2 parents 95b83cc + f94276d commit 48f0b68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/gam/GlobalPointer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@ class GlobalPointer {

GlobalPointer() {}

GlobalPointer(uint64_t descriptor) : descriptor_(descriptor) {
assert(is_address());
}
GlobalPointer(uint64_t descriptor) : descriptor_(descriptor) {}

GlobalPointer(executor_id home, uint64_t lsb)
: GlobalPointer(lsb | ((uint64_t)home << 32)) {
assert(is_address());
assert((this->lsb() | ((uint64_t)home << 32)) == this->address());
assert(home == this->home());
}
Expand Down

0 comments on commit 48f0b68

Please sign in to comment.