Reviewers: Mads Ager,

Description:
Put method declations under #ifdef DEBUG in header (as they are in
objects-inl.h).


Please review this at http://codereview.chromium.org/251015

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/objects.h


Index: src/objects.h
===================================================================
--- src/objects.h       (revision 2968)
+++ src/objects.h       (working copy)
@@ -751,14 +751,17 @@
    inline bool IsHeapNumber();
    inline bool IsString();
    inline bool IsSymbol();
+#ifdef DEBUG
+  // See objects-inl.h for more details
    inline bool IsSeqString();
    inline bool IsSlicedString();
    inline bool IsExternalString();
-  inline bool IsConsString();
    inline bool IsExternalTwoByteString();
    inline bool IsExternalAsciiString();
    inline bool IsSeqTwoByteString();
    inline bool IsSeqAsciiString();
+#endif // DEBUG
+  inline bool IsConsString();

    inline bool IsNumber();
    inline bool IsByteArray();



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

Reply via email to