Commit 09681283 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

TypePrint() does not depend on Object::Print().

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/225353004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20496 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f32ef903
......@@ -568,7 +568,6 @@ Representation Representation::FromType(Type* type) {
}
#ifdef OBJECT_PRINT
template<class Config>
void TypeImpl<Config>::TypePrint(PrintDimension dim) {
TypePrint(stdout, dim);
......@@ -666,7 +665,6 @@ void TypeImpl<Config>::TypePrint(FILE* out, PrintDimension dim) {
PrintF(out, ")");
}
}
#endif
template class TypeImpl<ZoneTypeConfig>;
......
......@@ -293,11 +293,9 @@ class TypeImpl : public Config::Base {
static TypeHandle Convert(
typename OtherTypeImpl::TypeHandle type, Region* region);
#ifdef OBJECT_PRINT
enum PrintDimension { BOTH_DIMS, SEMANTIC_DIM, REPRESENTATION_DIM };
void TypePrint(PrintDimension = BOTH_DIMS);
void TypePrint(FILE* out, PrintDimension = BOTH_DIMS);
#endif
private:
template<class> friend class Iterator;
......@@ -349,10 +347,8 @@ class TypeImpl : public Config::Base {
static int ExtendIntersection(
UnionedHandle unioned, TypeHandle t, TypeHandle other, int current_size);
#ifdef OBJECT_PRINT
static const char* bitset_name(int bitset);
static void BitsetTypePrint(FILE* out, int bitset);
#endif
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment