mirror of https://github.com/nodejs/node.git
Replace reinterpret_cast with BitCast in deoptimizer to please certain compilers.
This is a back-port of upstream V8 rev 8672. Fixes #1354.pull/5370/head
parent
bd2d90feff
commit
e5cceffe6a
|
@ -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_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue