Created
November 30, 2013 15:31
-
-
Save TylerBrock/7720462 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/third_party/v8/src/spaces.h b/src/third_party/v8/src/spaces.h | |
index 6602c89..d7a79c6 100644 | |
--- a/src/third_party/v8/src/spaces.h | |
+++ b/src/third_party/v8/src/spaces.h | |
@@ -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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment