Closed Bug 1267755 Opened 8 years ago Closed 8 years ago

Print objects' class names in JS::ubi::dumpPaths

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

Details

Attachments

(1 file)

      No description provided.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=904aa174d40b
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Comment on attachment 8745498 [details] [diff] [review]
Print objects' class names in JS::ubi::dumpPaths

Review of attachment 8745498 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/vm/UbiNodeShortestPaths.cpp
@@ +40,5 @@
> +    if (node.coarseType() == JS::ubi::CoarseType::Object) {
> +        if (const char* clsName = node.jsObjectClassName())
> +            fprintf(stderr, " [object %s]", clsName);
> +    }
> +    fprintf(stderr, "\n");

Could be fputc
Attachment #8745498 - Flags: review?(jimb) → review+
https://hg.mozilla.org/mozilla-central/rev/0f97f2bc9611
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Target Milestone: mozilla48 → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: