Fix build (solve OBJECT_PRINT dependency)
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/373003004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3b9da14adf
commit
d7ecf0e428
@ -94,8 +94,12 @@ void IC::TraceIC(const char* type, Handle<Object> name) {
|
||||
TransitionMarkFromState(state()),
|
||||
TransitionMarkFromState(new_state),
|
||||
modifier);
|
||||
#ifdef OBJECT_PRINT
|
||||
OFStream os(stdout);
|
||||
name->Print(os);
|
||||
#else
|
||||
name->ShortPrint(stdout);
|
||||
#endif
|
||||
PrintF("]\n");
|
||||
}
|
||||
}
|
||||
|
@ -1557,15 +1557,15 @@ class Object {
|
||||
// Prints this object without details to a message accumulator.
|
||||
void ShortPrint(StringStream* accumulator);
|
||||
|
||||
// For our gdb macros, we should perhaps change these in the future.
|
||||
void Print();
|
||||
|
||||
DECLARE_CAST(Object)
|
||||
|
||||
// Layout description.
|
||||
static const int kHeaderSize = 0; // Object does not take up any space.
|
||||
|
||||
#ifdef OBJECT_PRINT
|
||||
// For our gdb macros, we should perhaps change these in the future.
|
||||
void Print();
|
||||
|
||||
// Prints this object with details.
|
||||
void Print(OStream& os); // NOLINT
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user