| Index: src/compiler/state-values-utils.cc
|
| diff --git a/src/compiler/state-values-utils.cc b/src/compiler/state-values-utils.cc
|
| index 77cc227038b8b234ff26460c894adb59024df49d..f4bd1a435a32470472c5ef8ce8c42aa318200b4e 100644
|
| --- a/src/compiler/state-values-utils.cc
|
| +++ b/src/compiler/state-values-utils.cc
|
| @@ -81,8 +81,7 @@ Node* StateValuesCache::GetEmptyStateValues() {
|
|
|
| NodeVector* StateValuesCache::GetWorkingSpace(size_t level) {
|
| while (working_space_.size() <= level) {
|
| - void* space = zone()->New(sizeof(NodeVector));
|
| - working_space_.push_back(new (space)
|
| + working_space_.push_back(new (zone())
|
| NodeVector(kMaxInputCount, nullptr, zone()));
|
| }
|
| return working_space_[level];
|
|
|