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