Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
v8: backport b3775cf3 from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Oct 31, 2013
1 parent 23c608a commit 532f9ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deps/v8/src/spaces.h
Expand Up @@ -321,7 +321,8 @@ class MemoryChunk {
Space* owner() const {
if ((reinterpret_cast<intptr_t>(owner_) & kFailureTagMask) ==
kFailureTag) {
return reinterpret_cast<Space*>(owner_ - kFailureTag);
return reinterpret_cast<Space*>(reinterpret_cast<intptr_t>(owner_) -
kFailureTag);
} else {
return NULL;
}
Expand Down

0 comments on commit 532f9ff

Please sign in to comment.