Index: src/zone-containers.h |
diff --git a/src/icu_util.h b/src/zone-containers.h |
similarity index 80% |
copy from src/icu_util.h |
copy to src/zone-containers.h |
index 478abce508cc69a74b83028e19ddc66f9ea1d641..31672b62dbf0b4a2926f8354a4bc1b4da6c534ca 100644 |
--- a/src/icu_util.h |
+++ b/src/zone-containers.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2013 the V8 project authors. All rights reserved. |
+// Copyright 2014 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -25,18 +25,22 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+#ifndef V8_ZONE_CONTAINERS_H_ |
+#define V8_ZONE_CONTAINERS_H_ |
-#ifndef V8_ICU_UTIL_H_ |
-#define V8_ICU_UTIL_H_ |
+#include <vector> |
+#include <set> |
-namespace v8 { |
+#include "zone.h" |
+namespace v8 { |
namespace internal { |
-// Call this function to load ICU's data tables for the current process. This |
-// function should be called before ICU is used. |
-bool InitializeICU(); |
+typedef zone_allocator<int> ZoneIntAllocator; |
+typedef std::vector<int, ZoneIntAllocator> IntVector; |
+typedef IntVector::iterator IntVectorIter; |
+typedef IntVector::reverse_iterator IntVectorRIter; |
} } // namespace v8::internal |
-#endif // V8_ICU_UTIL_H_ |
+#endif // V8_ZONE_CONTAINERS_H_ |