Revision: 24130
Author: [email protected]
Date: Tue Sep 23 06:30:15 2014 UTC
Log: Forcibly inline bit_cast when building with GCC.
[email protected]
Review URL: https://codereview.chromium.org/595773002
https://code.google.com/p/v8/source/detail?r=24130
Modified:
/branches/bleeding_edge/src/base/macros.h
=======================================
--- /branches/bleeding_edge/src/base/macros.h Mon Sep 8 09:11:11 2014 UTC
+++ /branches/bleeding_edge/src/base/macros.h Tue Sep 23 06:30:15 2014 UTC
@@ -230,7 +230,7 @@
// WARNING: if Dest or Source is a non-POD type, the result of the memcpy
// is likely to surprise you.
template <class Dest, class Source>
-inline Dest bit_cast(const Source& source) {
+V8_INLINE Dest bit_cast(Source const& source) {
COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual);
Dest dest;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.