jit_emit_exception.h 515 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _JIT_EMIT_EXCEPTION_H_
  6. #define _JIT_EMIT_EXCEPTION_H_
  7. #include "../jit_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. jit_emit_exception(JitCompContext *cc, int32 exception_id, uint8 jit_opcode,
  13. JitReg cond_br_if, JitBasicBlock *cond_br_else_block);
  14. #ifdef __cplusplus
  15. } /* end of extern "C" */
  16. #endif
  17. #endif /* end of _JIT_EMIT_EXCEPTION_H_ */