| Index: src/compiler/scheduler.cc
|
| diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc
|
| index b4e74d98fe0861b384b2885cc5da41c1234cde92..6fb8a017e010b4adfb398063c4c8304e05325f9f 100644
|
| --- a/src/compiler/scheduler.cc
|
| +++ b/src/compiler/scheduler.cc
|
| @@ -686,8 +686,7 @@ class SpecialRPONumberer : public ZoneObject {
|
|
|
| void AddOutgoing(Zone* zone, BasicBlock* block) {
|
| if (outgoing == nullptr) {
|
| - outgoing = new (zone->New(sizeof(ZoneVector<BasicBlock*>)))
|
| - ZoneVector<BasicBlock*>(zone);
|
| + outgoing = new (zone) ZoneVector<BasicBlock*>(zone);
|
| }
|
| outgoing->push_back(block);
|
| }
|
|
|