Skip to content

Commit

Permalink
deps: backport 8dde6ac from upstream V8
Browse files Browse the repository at this point in the history
Commit 9c9e2d7 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: #12060
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
danbev authored and italoacasas committed Apr 10, 2017
1 parent 1ee38eb commit 6130d54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deps/v8/src/objects-printer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ extern void _v8_internal_Print_Code(void* object) {

extern void _v8_internal_Print_TypeFeedbackVector(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::TypeFeedbackVector*>(object)->Print();
}
Expand Down
8 changes: 4 additions & 4 deletions deps/v8/tools/gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,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.
Expand Down

0 comments on commit 6130d54

Please sign in to comment.