Revision: 21572
Author: [email protected]
Date: Wed May 28 15:05:53 2014 UTC
Log: Split Distributivity test
[email protected]
BUG=
Review URL: https://codereview.chromium.org/298253008
http://code.google.com/p/v8/source/detail?r=21572
Modified:
/branches/bleeding_edge/test/cctest/test-types.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-types.cc Tue May 27 14:26:32
2014 UTC
+++ /branches/bleeding_edge/test/cctest/test-types.cc Wed May 28 15:05:53
2014 UTC
@@ -1725,7 +1725,7 @@
T.Union(T.ObjectConstant2, T.ObjectConstant1));
}
- void Distributivity() {
+ void Distributivity1() {
// Distributivity:
// Union(T1, Intersect(T2, T3)) = Intersect(Union(T1, T2), Union(T1,
T3))
for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) {
@@ -1743,7 +1743,9 @@
}
}
}
+ }
+ void Distributivity2() {
// Distributivity:
// Intersect(T1, Union(T2, T3)) = Union(Intersect(T1, T2),
Intersect(T1,T3))
for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) {
@@ -1899,10 +1901,17 @@
}
-TEST(Distributivity) {
+TEST(Distributivity1) {
+ CcTest::InitializeVM();
+ ZoneTests().Distributivity1();
+ HeapTests().Distributivity1();
+}
+
+
+TEST(Distributivity2) {
CcTest::InitializeVM();
- ZoneTests().Distributivity();
- HeapTests().Distributivity();
+ ZoneTests().Distributivity2();
+ HeapTests().Distributivity2();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.