Revision: 18044
Author: [email protected]
Date: Mon Nov 25 12:19:02 2013 UTC
Log: Fixed printer for JSFunction.
[email protected]
Review URL: https://codereview.chromium.org/85613003
http://code.google.com/p/v8/source/detail?r=18044
Modified:
/branches/bleeding_edge/src/objects-printer.cc
=======================================
--- /branches/bleeding_edge/src/objects-printer.cc Fri Nov 22 07:34:21 2013
UTC
+++ /branches/bleeding_edge/src/objects-printer.cc Mon Nov 25 12:19:02 2013
UTC
@@ -862,8 +862,13 @@
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");
--
--
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.