Revision: 15755
Author: [email protected]
Date: Thu Jul 18 07:40:59 2013
Log: Do not inline printing functions typically used via GDB.
[email protected]
Review URL: https://codereview.chromium.org/19722005
http://code.google.com/p/v8/source/detail?r=15755
Modified:
/branches/bleeding_edge/src/objects-printer.cc
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects-printer.cc Wed Jul 17 04:50:24 2013
+++ /branches/bleeding_edge/src/objects-printer.cc Thu Jul 18 07:40:59 2013
@@ -40,6 +40,11 @@
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)) {
@@ -53,6 +58,11 @@
}
Flush(out);
}
+
+
+void MaybeObject::PrintLn() {
+ PrintLn(stdout);
+}
void MaybeObject::PrintLn(FILE* out) {
=======================================
--- /branches/bleeding_edge/src/objects.h Thu Jul 18 06:00:40 2013
+++ /branches/bleeding_edge/src/objects.h Thu Jul 18 07:40:59 2013
@@ -922,13 +922,9 @@
#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
--
--
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.