diff --git a/runtime/ecma_language_context.cpp b/runtime/ecma_language_context.cpp index 983db405c67509ef2a4c50cd8078604240fad78f..c1b9f895993096116e923b63591a1fc4c38e06b5 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 d6dbbf27a3c0282b32c142f80db734e7e5154bbe..5f2216ce94543c1238cb60d712ef6d26a8ed4177 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 d9567fee36a28db68b33636d5f97199ffbf4e7d3..38bc564513a045caef773987dfcfa6efdc9fc38c 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()