mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2025-02-17 10:18:13 +00:00
!8729 修复gc dfx工具开启后编译失败的问题
Merge pull request !8729 from huangzhenghua/master20240816
This commit is contained in:
commit
3441c44076
@ -79,7 +79,7 @@ namespace panda::ecmascript {
|
||||
#elif defined(ECMASCRIPT_ENABLE_GC_DFX_OPTIONS)
|
||||
#define ECMASCRIPT_ENABLE_IC 1
|
||||
#define ECMASCRIPT_ENABLE_ZAP_MEM 1
|
||||
#define ECMASCRIPT_SWITCH_GC_MODE_TO_FULL_GC 1
|
||||
#define ECMASCRIPT_SWITCH_GC_MODE_TO_FULL_GC 0
|
||||
#define ECMASCRIPT_ENABLE_CAST_CHECK 1
|
||||
#define ECMASCRIPT_ENABLE_NEW_HANDLE_CHECK 1
|
||||
#define ECMASCRIPT_ENABLE_BARRIER_CHECK 1
|
||||
|
@ -14,6 +14,9 @@
|
||||
*/
|
||||
|
||||
#include "ecmascript/builtins/builtins_cjs_require.h"
|
||||
#if ECMASCRIPT_ENABLE_CAST_CHECK
|
||||
#include "ecmascript/js_tagged_value-inl.h"
|
||||
#endif
|
||||
|
||||
namespace panda::ecmascript::builtins {
|
||||
JSTaggedValue BuiltinsCjsRequire::CjsRequireConstructor(EcmaRuntimeCallInfo *argv)
|
||||
|
@ -212,7 +212,7 @@ public:
|
||||
return gcType_;
|
||||
}
|
||||
|
||||
bool IsAlive(TaggedObject *object) const;
|
||||
bool PUBLIC_API IsAlive(TaggedObject *object) const;
|
||||
|
||||
bool ContainObject(TaggedObject *object) const;
|
||||
|
||||
|
@ -126,6 +126,7 @@
|
||||
panda::ecmascript::AOTFileVersion::GetAOTVersion*;
|
||||
panda::ecmascript::AOTFileVersion::CheckAOTVersion*;
|
||||
panda::ecmascript::Barriers::Update*;
|
||||
panda::ecmascript::BaseHeap::IsAlive*;
|
||||
panda::ecmascript::BigInt::SameValue*;
|
||||
panda::ecmascript::BigInt::DoubleToBigInt*;
|
||||
panda::ecmascript::BigInt::Int32ToBigInt*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user