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

Unified Diff: src/types-inl.h

Issue 1290743005: Make some foo.h headers usable without foo-inl.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: As per offline comment. Created 5 years, 4 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/types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types-inl.h
diff --git a/src/types-inl.h b/src/types-inl.h
index 762a11df303d85f6c8289d8526564233140def4d..084f5db812d79e5431a7bf0877d1417151e4fef2 100644
--- a/src/types-inl.h
+++ b/src/types-inl.h
@@ -69,13 +69,6 @@ bool TypeImpl<Config>::NowContains(i::Object* value) {
// static
template<class T>
-T* ZoneTypeConfig::null_handle() {
- return NULL;
-}
-
-
-// static
-template<class T>
T* ZoneTypeConfig::handle(T* type) {
return type;
}
@@ -283,13 +276,6 @@ void ZoneTypeConfig::range_set_double(ZoneTypeConfig::Range* range, int index,
// static
template<class T>
-i::Handle<T> HeapTypeConfig::null_handle() {
- return i::Handle<T>();
-}
-
-
-// static
-template<class T>
i::Handle<T> HeapTypeConfig::handle(T* type) {
return i::handle(type, i::HeapObject::cast(type)->GetIsolate());
}
« no previous file with comments | « src/types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698