From 42d5664fd70ebfd450bce9ebb9efe8801dd92626 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 26 Feb 2021 15:56:28 -0500 Subject: [PATCH] src: remove V8_FT_ADAPTOR for V8 update V8 has removed argument adapter frames. This commit removes them from the Node.js codebase as well. --- src/v8abbr.h | 1 - src/v8ustack.d | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/src/v8abbr.h b/src/v8abbr.h index 6fa5624fbd9d86..50145ae4d30fa2 100644 --- a/src/v8abbr.h +++ b/src/v8abbr.h @@ -41,7 +41,6 @@ #define V8_FT_OPTIMIZED V8DBG_FRAMETYPE_OPTIMIZEDFRAME #define V8_FT_INTERNAL V8DBG_FRAMETYPE_INTERNALFRAME #define V8_FT_CONSTRUCT V8DBG_FRAMETYPE_CONSTRUCTFRAME -#define V8_FT_ADAPTOR V8DBG_FRAMETYPE_ARGUMENTSADAPTORFRAME #define V8_FT_STUB V8DBG_FRAMETYPE_STUBFRAME /* Identification masks and tags */ diff --git a/src/v8ustack.d b/src/v8ustack.d index 0f403bae655e20..2fe40714c094e8 100644 --- a/src/v8ustack.d +++ b/src/v8ustack.d @@ -392,24 +392,6 @@ dtrace:helper:ustack: this->ii = 0; } -/* - * Like V8, we first check if we've got an ArgumentsAdaptorFrame. We've got - * nothing to add for such frames, so we bail out quickly. - */ -dtrace:helper:ustack: -{ - this->ctx = COPYIN_PTR(this->fp + V8_OFF_FP_CONTEXT); -} - -dtrace:helper:ustack: -/IS_SMI(this->ctx) && SMI_VALUE(this->ctx) == V8_FT_ADAPTOR/ -{ - this->done = 1; - APPEND_CHR8('<','<',' ','a','d','a','p','t'); - APPEND_CHR8('o','r',' ','>','>','\0','\0','\0'); - stringof(this->buf); -} - /* * Check for other common frame types for which we also have nothing to add. */