Revision: 14657
Author: [email protected]
Date: Tue May 14 04:02:20 2013
Log: Fixed linkage for Is template.
With static linkage, clang 3.3 is unhappy about unused functions
template <> inline bool Is<JSFunction>(Object* obj)
template <> inline bool Is<JSArray>(Object* obj)
in any compilation unit apart from acessors.cc.
[email protected]
Review URL: https://codereview.chromium.org/14836014
http://code.google.com/p/v8/source/detail?r=14657
Modified:
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects.h Mon May 13 12:22:18 2013
+++ /branches/bleeding_edge/src/objects.h Tue May 14 04:02:20 2013
@@ -851,7 +851,7 @@
// A template-ized version of the IsXXX functions.
-template <class C> static inline bool Is(Object* obj);
+template <class C> inline bool Is(Object* obj);
#ifdef VERIFY_HEAP
#define DECLARE_VERIFIER(Name) void Name##Verify();
--
--
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/groups/opt_out.