Do not inline printing functions typically used via GDB.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/19722005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
svenpanne@chromium.org 2013-07-18 14:40:59 +00:00
parent eeb7452a44
commit 607a531435
2 changed files with 12 additions and 6 deletions

View File

@ -40,6 +40,11 @@ namespace internal {
static const char* TypeToString(InstanceType type);
void MaybeObject::Print() {
Print(stdout);
}
void MaybeObject::Print(FILE* out) {
Object* this_as_object;
if (ToObject(&this_as_object)) {
@ -55,6 +60,11 @@ void MaybeObject::Print(FILE* out) {
}
void MaybeObject::PrintLn() {
PrintLn(stdout);
}
void MaybeObject::PrintLn(FILE* out) {
Print(out);
PrintF(out, "\n");

View File

@ -922,13 +922,9 @@ class MaybeObject BASE_EMBEDDED {
#ifdef OBJECT_PRINT
// Prints this object with details.
inline void Print() {
Print(stdout);
}
inline void PrintLn() {
PrintLn(stdout);
}
void Print();
void Print(FILE* out);
void PrintLn();
void PrintLn(FILE* out);
#endif
#ifdef VERIFY_HEAP