Always inline BitCast.
Review URL: http://codereview.chromium.org/6688064 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
7715206e48
commit
b604befe61
@ -783,6 +783,9 @@ struct BitCastHelper<Dest, Source*> {
|
||||
}
|
||||
};
|
||||
|
||||
template <class Dest, class Source>
|
||||
INLINE(Dest BitCast(const Source& source));
|
||||
|
||||
template <class Dest, class Source>
|
||||
inline Dest BitCast(const Source& source) {
|
||||
return BitCastHelper<Dest, Source>::cast(source);
|
||||
|
Loading…
Reference in New Issue
Block a user