Fix compile failed of gc-dfx options

Add some head files of gc-dfx options

Issue: IANLAJ
Test: Build & Boot devices

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I33c51cffdd738a1367b420a07764fdc84afe3825
This commit is contained in:
huangzhenghua 2024-08-30 11:49:29 +08:00
parent 76ae8ff357
commit c84c7bbf79
4 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,9 @@
#include "ecmascript/interpreter/interpreter.h"
#include "ecmascript/js_iterator.h"
#if ECMASCRIPT_ENABLE_CAST_CHECK
#include "ecmascript/js_tagged_value-inl.h"
#endif
namespace panda::ecmascript {
JSHandle<JSObject> GeneratorHelper::Next(JSThread *thread, const JSHandle<GeneratorContext> &genContext,

View File

@ -16,6 +16,9 @@
#include "ecmascript/mem/machine_code.h"
#include "ecmascript/compiler/aot_file/func_entry_des.h"
#include "ecmascript/jit/jit.h"
#if ECMASCRIPT_ENABLE_CAST_CHECK
#include "ecmascript/js_tagged_value-inl.h"
#endif
#ifdef JIT_ENABLE_CODE_SIGN
#include "jit_buffer_integrity.h"
#endif

View File

@ -17,6 +17,9 @@
#include "ecmascript/platform/os.h"
#if ECMASCRIPT_ENABLE_ZAP_MEM
#include "securec.h"
#endif
namespace panda::ecmascript {
Area *NativeAreaAllocator::AllocateArea(size_t capacity)
{

View File

@ -14,6 +14,9 @@
*/
#include "ecmascript/shared_mm/shared_mm.h"
#if ECMASCRIPT_ENABLE_ZAP_MEM
#include "securec.h"
#endif
namespace panda::ecmascript {
static constexpr size_t MALLOC_SIZE_LIMIT = 2147483648; // Max internal memory used by the VM declared in options