Revision: 5305
Author: [email protected]
Date: Thu Aug 19 01:14:29 2010
Log: Landing for Ryan Dahl.

Remove const from BitCast.

Fixes build for old GCCs.

Review URL: http://codereview.chromium.org/3130033/show
http://code.google.com/p/v8/source/detail?r=5305

Modified:
 /branches/bleeding_edge/src/utils.h

=======================================
--- /branches/bleeding_edge/src/utils.h Wed Aug 11 03:52:34 2010
+++ /branches/bleeding_edge/src/utils.h Thu Aug 19 01:14:29 2010
@@ -740,7 +740,7 @@
 }

 template <class Dest, class Source>
-inline Dest BitCast(Source* const & source) {
+inline Dest BitCast(Source* source) {
     return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
 }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to