aot_stack_frame.h 488 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2024 Amazon Inc. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _AOT_STACK_FRAME_H_
  6. #define _AOT_STACK_FRAME_H_
  7. #include "platform_common.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. typedef struct {
  12. /* The non-imported function index of current function */
  13. uint32 func_index;
  14. /* Instruction pointer: offset to the bytecode array */
  15. uint32 ip_offset;
  16. } AOTTinyFrame;
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif