Browse Source

deps: backport 8dde6ac from upstream V8

Commit 9c9e2d7f4a changed the name of TypeFeedbackVector to
FeedbackVector but that commit did not update gdbinit. This applies the
changed to gdbinit from upstream V8.

Original commit message:

[gdbinit] Rename TypeFeedback* to Feedback*.

    BUG=

    Change-Id: I1e32fdcf9edda57f5de329c8b694620a5da4558b
    Reviewed-on: https://chromium-review.googlesource.com/442444
    Reviewed-by: Michael Stanton <mvstanton@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43185}

PR-URL: https://github.com/nodejs/node/pull/12060
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v6
Daniel Bevenius 8 years ago
parent
commit
678480e328
  1. 2
      deps/v8/src/objects-printer.cc
  2. 8
      deps/v8/tools/gdbinit

2
deps/v8/src/objects-printer.cc

@ -1684,7 +1684,7 @@ extern void _v8_internal_Print_Code(void* object) {
extern void _v8_internal_Print_FeedbackVector(void* object) {
if (reinterpret_cast<i::Object*>(object)->IsSmi()) {
printf("Not a type feedback vector\n");
printf("Not a feedback vector\n");
} else {
reinterpret_cast<i::FeedbackVector*>(object)->Print();
}

8
deps/v8/tools/gdbinit

@ -29,13 +29,13 @@ Print a v8 Code object from an internal code address
Usage: jco pc
end
# Print TypeFeedbackVector
# Print FeedbackVector
define jfv
call _v8_internal_Print_TypeFeedbackVector((void*)($arg0))
call _v8_internal_Print_FeedbackVector((void*)($arg0))
end
document jfv
Print a v8 TypeFeedbackVector object
Usage: jtv tagged_ptr
Print a v8 FeedbackVector object
Usage: jfv tagged_ptr
end
# Print DescriptorArray.

Loading…
Cancel
Save