| Index: test/cctest/test-types.cc
|
| diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
|
| index 435dc8dc33cbaf67913eb8299fe3605c080e45fb..fe07093077bd22cf306755857cc0d7143fd40b6b 100644
|
| --- a/test/cctest/test-types.cc
|
| +++ b/test/cctest/test-types.cc
|
| @@ -1499,6 +1499,7 @@ struct Tests : Rep {
|
| void Union3() {
|
| // Monotonicity: T1->Is(T2) or T1->Is(T3) implies T1->Is(Union(T2, T3))
|
| for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) {
|
| + HandleScope scope(isolate);
|
| for (TypeIterator it2 = T.types.begin(); it2 != T.types.end(); ++it2) {
|
| for (TypeIterator it3 = it2; it3 != T.types.end(); ++it3) {
|
| TypeHandle type1 = *it1;
|
| @@ -1751,6 +1752,7 @@ struct Tests : Rep {
|
|
|
| // Monotonicity: T1->Is(T2) and T1->Is(T3) implies T1->Is(Intersect(T2, T3))
|
| for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) {
|
| + HandleScope scope(isolate);
|
| for (TypeIterator it2 = T.types.begin(); it2 != T.types.end(); ++it2) {
|
| for (TypeIterator it3 = T.types.begin(); it3 != T.types.end(); ++it3) {
|
| TypeHandle type1 = *it1;
|
|
|