Commit ed538db7 authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

Include 'handled_hint' when printing JSPromise objects

R=bmeurer@chromium.org

Change-Id: I7338c4a5a259b7f81e8f7719d29c41e721ec1b00
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1921795
Auto-Submit: Simon Zünd <szuend@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65012}
parent 22c85e5f
......@@ -654,6 +654,7 @@ void JSPromise::JSPromisePrint(std::ostream& os) { // NOLINT
os << "\n - result: " << Brief(result());
}
os << "\n - has_handler: " << has_handler();
os << "\n - handled_hint: " << handled_hint();
JSObjectPrintBody(os, *this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment