Index: src/zone-inl.h |
diff --git a/src/zone-inl.h b/src/zone-inl.h |
index e312b20899d12db432a174696b212d1f4127a0b8..b498ea776b75f2a77b61cb39ecefb77f418a1e80 100644 |
--- a/src/zone-inl.h |
+++ b/src/zone-inl.h |
@@ -40,7 +40,6 @@ namespace internal { |
inline void* Zone::New(int size) { |
- ASSERT(scope_nesting_ > 0); |
// Round up the requested size to fit the alignment. |
size = RoundUp(size, kAlignment); |
@@ -110,17 +109,6 @@ void* ZoneList<T>::operator new(size_t size, Zone* zone) { |
} |
-ZoneScope::ZoneScope(Zone* zone, ZoneScopeMode mode) |
- : zone_(zone), mode_(mode) { |
- zone_->scope_nesting_++; |
-} |
- |
- |
-bool ZoneScope::ShouldDeleteOnExit() { |
- return zone_->scope_nesting_ == 1 && mode_ == DELETE_ON_EXIT; |
-} |
- |
- |
} } // namespace v8::internal |
#endif // V8_ZONE_INL_H_ |