From e058ce25e4bd85f31ace1a481d6a8d3fadc46ba0 Mon Sep 17 00:00:00 2001 From: Denis Slynko Date: Wed, 16 Oct 2024 19:41:29 +0300 Subject: [PATCH] [PT] Remove deprecated API Signed-off-by: Denis Slynko --- runtime/ecma_language_context.cpp | 5 ----- runtime/ecma_language_context.h | 2 -- tests/runtime/tooling/api_tests/js/js_frame_pop_test.h | 3 +-- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/runtime/ecma_language_context.cpp b/runtime/ecma_language_context.cpp index 983db405c..c1b9f8959 100644 --- a/runtime/ecma_language_context.cpp +++ b/runtime/ecma_language_context.cpp @@ -71,11 +71,6 @@ std::unique_ptr EcmaLanguageContext::CreateClassLinkerExte return std::make_unique(); } -PandaUniquePtr EcmaLanguageContext::CreatePtLangExt() const -{ - return PandaUniquePtr(); -} - void EcmaLanguageContext::ThrowException(ManagedThread *thread, const uint8_t *mutf8Name, const uint8_t *mutf8Msg) const { ecmascript::ThrowException(JSThread::Cast(thread), reinterpret_cast(mutf8Name), diff --git a/runtime/ecma_language_context.h b/runtime/ecma_language_context.h index d6dbbf27a..5f2216ce9 100644 --- a/runtime/ecma_language_context.h +++ b/runtime/ecma_language_context.h @@ -47,8 +47,6 @@ public: std::unique_ptr CreateClassLinkerExtension() const override; - PandaUniquePtr CreatePtLangExt() const override; - void ThrowException(ManagedThread *thread, const uint8_t *mutf8Name, const uint8_t *mutf8Msg) const override; void ThrowStackOverflowException(ManagedThread *thread) const override; diff --git a/tests/runtime/tooling/api_tests/js/js_frame_pop_test.h b/tests/runtime/tooling/api_tests/js/js_frame_pop_test.h index d9567fee3..38bc56451 100644 --- a/tests/runtime/tooling/api_tests/js/js_frame_pop_test.h +++ b/tests/runtime/tooling/api_tests/js/js_frame_pop_test.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2021-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -101,7 +101,6 @@ private: PtLocation location_ {nullptr, PtLocation::EntityId(0), 0}; size_t breakpointCounter_ = 0; size_t framePopCounter_ = 0; - PtMethod popMethod_ {nullptr}; }; inline std::unique_ptr GetJsFramePopTest() -- Gitee