Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 175ee6e1fbe1b88a8e1c494b6baefba93a2e487e..3a7b33a21e3666005eee4fefe9d1f4bd2830b047 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -1462,7 +1462,7 @@ DeoptimizedFrameInfo::~DeoptimizedFrameInfo() { |
} |
void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
- v->VisitPointer(reinterpret_cast<Object**>(&function_)); |
+ v->VisitPointer(BitCast<Object**>(&function_)); |
v->VisitPointers(parameters_, parameters_ + parameters_count_); |
v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
} |