From 678480e328c1fdd152973695e978e0f02b489770 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 27 Mar 2017 09:55:46 +0200 Subject: [PATCH] deps: backport 8dde6ac from upstream V8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 9c9e2d7f4a576310 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 Commit-Queue: Igor Sheludko Cr-Commit-Position: refs/heads/master@{#43185} PR-URL: https://github.com/nodejs/node/pull/12060 Reviewed-By: Ben Noordhuis Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig --- deps/v8/src/objects-printer.cc | 2 +- deps/v8/tools/gdbinit | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deps/v8/src/objects-printer.cc b/deps/v8/src/objects-printer.cc index 4a7f35f889be9c..4f63757b7c91f7 100644 --- a/deps/v8/src/objects-printer.cc +++ b/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(object)->IsSmi()) { - printf("Not a type feedback vector\n"); + printf("Not a feedback vector\n"); } else { reinterpret_cast(object)->Print(); } diff --git a/deps/v8/tools/gdbinit b/deps/v8/tools/gdbinit index 3d527829bf85b9..6ecc6f4fa39004 100644 --- a/deps/v8/tools/gdbinit +++ b/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.