Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Unified Diff: src/property.cc

Issue 553843002: Replace our home-grown BitCast with bit_cast from Chrome/Google3. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property.cc
diff --git a/src/property.cc b/src/property.cc
index efb58a28c789bf297e5f23b10a8c10bfc51cee92..f0ff95c0fe2f3e93761630fce988f511255c8e74 100644
--- a/src/property.cc
+++ b/src/property.cc
@@ -13,8 +13,8 @@ namespace internal {
void LookupResult::Iterate(ObjectVisitor* visitor) {
LookupResult* current = this; // Could be NULL.
while (current != NULL) {
- visitor->VisitPointer(BitCast<Object**>(&current->holder_));
- visitor->VisitPointer(BitCast<Object**>(&current->transition_));
+ visitor->VisitPointer(bit_cast<Object**>(&current->holder_));
+ visitor->VisitPointer(bit_cast<Object**>(&current->transition_));
current = current->next_;
}
}
« no previous file with comments | « src/objects-inl.h ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698