Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: src/objects.h

Issue 251015: Put method declations under #ifdef DEBUG in header (as they are in objects-in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // Since Smi and Failure are subclasses of Object no 744 // Since Smi and Failure are subclasses of Object no
745 // data members can be present in Object. 745 // data members can be present in Object.
746 class Object BASE_EMBEDDED { 746 class Object BASE_EMBEDDED {
747 public: 747 public:
748 // Type testing. 748 // Type testing.
749 inline bool IsSmi(); 749 inline bool IsSmi();
750 inline bool IsHeapObject(); 750 inline bool IsHeapObject();
751 inline bool IsHeapNumber(); 751 inline bool IsHeapNumber();
752 inline bool IsString(); 752 inline bool IsString();
753 inline bool IsSymbol(); 753 inline bool IsSymbol();
754 #ifdef DEBUG
755 // See objects-inl.h for more details
754 inline bool IsSeqString(); 756 inline bool IsSeqString();
755 inline bool IsSlicedString(); 757 inline bool IsSlicedString();
756 inline bool IsExternalString(); 758 inline bool IsExternalString();
757 inline bool IsConsString();
758 inline bool IsExternalTwoByteString(); 759 inline bool IsExternalTwoByteString();
759 inline bool IsExternalAsciiString(); 760 inline bool IsExternalAsciiString();
760 inline bool IsSeqTwoByteString(); 761 inline bool IsSeqTwoByteString();
761 inline bool IsSeqAsciiString(); 762 inline bool IsSeqAsciiString();
763 #endif // DEBUG
764 inline bool IsConsString();
762 765
763 inline bool IsNumber(); 766 inline bool IsNumber();
764 inline bool IsByteArray(); 767 inline bool IsByteArray();
765 inline bool IsPixelArray(); 768 inline bool IsPixelArray();
766 inline bool IsFailure(); 769 inline bool IsFailure();
767 inline bool IsRetryAfterGC(); 770 inline bool IsRetryAfterGC();
768 inline bool IsOutOfMemoryFailure(); 771 inline bool IsOutOfMemoryFailure();
769 inline bool IsException(); 772 inline bool IsException();
770 inline bool IsJSObject(); 773 inline bool IsJSObject();
771 inline bool IsJSContextExtensionObject(); 774 inline bool IsJSContextExtensionObject();
(...skipping 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after
4844 } else { 4847 } else {
4845 value &= ~(1 << bit_position); 4848 value &= ~(1 << bit_position);
4846 } 4849 }
4847 return value; 4850 return value;
4848 } 4851 }
4849 }; 4852 };
4850 4853
4851 } } // namespace v8::internal 4854 } } // namespace v8::internal
4852 4855
4853 #endif // V8_OBJECTS_H_ 4856 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698