| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 0ed737be4eeca5a82f05a8fe51242ed013ed4a20..19524e21d23f2f5ee06ebac044deee41f3a36e4f 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -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");
|
|
|