Index: test/cctest/test-ast-types.cc |
diff --git a/test/cctest/test-ast-types.cc b/test/cctest/test-ast-types.cc |
index 3d9b8a6d539ec0c36ad19773bad5e484373e4cba..39d2d70eb00a894f058babdee09c67d7d432a38a 100644 |
--- a/test/cctest/test-ast-types.cc |
+++ b/test/cctest/test-ast-types.cc |
@@ -21,6 +21,8 @@ |
using namespace v8::internal; |
+namespace { |
+ |
// Testing auxiliaries (breaking the Type abstraction). |
static bool IsInteger(double x) { |
@@ -34,14 +36,14 @@ static bool IsInteger(i::Object* x) { |
typedef uint32_t bitset; |
struct Tests { |
- typedef Types::TypeVector::iterator TypeIterator; |
- typedef Types::MapVector::iterator MapIterator; |
- typedef Types::ValueVector::iterator ValueIterator; |
+ typedef AstTypes::TypeVector::iterator TypeIterator; |
+ typedef AstTypes::MapVector::iterator MapIterator; |
+ typedef AstTypes::ValueVector::iterator ValueIterator; |
Isolate* isolate; |
HandleScope scope; |
Zone zone; |
- Types T; |
+ AstTypes T; |
Tests() |
: isolate(CcTest::InitIsolateOnce()), |
@@ -1845,6 +1847,8 @@ struct Tests { |
} |
}; |
+} // namespace |
+ |
TEST(AstIsSomeType_zone) { Tests().IsSomeType(); } |
TEST(AstPointwiseRepresentation_zone) { Tests().PointwiseRepresentation(); } |