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

Unified Diff: src/compiler/scheduler.cc

Issue 2452403003: Changed statement ZoneList to a ZoneChunkList
Patch Set: Created 4 years, 2 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/compiler/register-allocator.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698