| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 9f1b9392c38425feba8e095a4100d4a900d3cd8b..512f532ff9164638a1efeeb559d16d9275bed6da 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -862,8 +862,13 @@ void JSFunction::JSFunctionPrint(FILE* out) {
|
| shared()->name()->Print(out);
|
| PrintF(out, "\n - context = ");
|
| context()->ShortPrint(out);
|
| - PrintF(out, "\n - literals = ");
|
| - literals()->ShortPrint(out);
|
| + if (shared()->bound()) {
|
| + PrintF(out, "\n - bindings = ");
|
| + function_bindings()->ShortPrint(out);
|
| + } else {
|
| + PrintF(out, "\n - literals = ");
|
| + literals()->ShortPrint(out);
|
| + }
|
| PrintF(out, "\n - code = ");
|
| code()->ShortPrint(out);
|
| PrintF(out, "\n");
|
|
|