Chromium Code Reviews| Index: src/zone-inl.h |
| diff --git a/src/zone-inl.h b/src/zone-inl.h |
| index 49e7626f74ecbc4a63bd48a1daeb57a78a37489f..f257382a2dba5b118cadb98e83c1da68b58ad27a 100644 |
| --- a/src/zone-inl.h |
| +++ b/src/zone-inl.h |
| @@ -109,6 +109,12 @@ void* ZoneList<T>::operator new(size_t size, Zone* zone) { |
| } |
| +template <typename T> |
| +void* ZoneSplayTree<T>::operator new(size_t size, Zone* zone) { |
| + return zone->New(static_cast<int>(size)); |
| +} |
| + |
| + |
| } } // namespace v8::internal |
| #endif // V8_ZONE_INL_H_ |