Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: src/types.h

Issue 1700923002: Move FieldType to separate h/cc files. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/property.h ('k') | src/types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types.h
diff --git a/src/types.h b/src/types.h
index e3a0cfefb5ab97d9f2eaa990535167727a064b6a..31f6a0d187768de931de7661a0a28a3815621ff7 100644
--- a/src/types.h
+++ b/src/types.h
@@ -964,30 +964,6 @@ struct Bounds {
}
};
-class FieldType : public Object {
- public:
- static FieldType* None();
- static FieldType* Any();
- static Handle<FieldType> None(Isolate* isolate);
- static Handle<FieldType> Any(Isolate* isolate);
- static FieldType* Class(i::Map* map);
- static Handle<FieldType> Class(i::Handle<i::Map> map, Isolate* isolate);
- static FieldType* cast(Object* object);
-
- bool NowContains(Object* value);
- bool NowContains(Handle<Object> value);
- bool IsClass();
- Handle<i::Map> AsClass();
- bool IsNone() { return this == None(); }
- bool IsAny() { return this == Any(); }
- bool NowStable();
- bool NowIs(FieldType* other);
- bool NowIs(Handle<FieldType> other);
- Type* Convert(Zone* zone);
-
- void PrintTo(std::ostream& os);
-};
-
} // namespace internal
} // namespace v8
« no previous file with comments | « src/property.h ('k') | src/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698