Reviewers: mvstanton,
Description:
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.
Please review this at https://codereview.chromium.org/14836014/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/objects.h
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index
adb05cb690f26c7890dea6eb583fe0f519a40223..281672ba4ad5f7f1fe8468eb68b416cf9c8a1607
100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -851,7 +851,7 @@ struct ValueInfo : public Malloced {
// 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.