ByteCodeSerializeFlags.h 865 B

1234567891011121314
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. #define GENERATE_BYTE_CODE_BUFFER_LIBRARY 0x00000001
  7. #define GENERATE_BYTE_CODE_FOR_NATIVE 0x00000002
  8. #define GENERATE_BYTE_CODE_PARSER_STATE 0x00000004
  9. // When the return buffer needs to be allocated while generating bytecode, use one
  10. // of these flags to indicate how to allocate the memory. The absence of both flags
  11. // indicates that no allocation is needed.
  12. #define GENERATE_BYTE_CODE_COTASKMEMALLOC 0x00000008
  13. #define GENERATE_BYTE_CODE_ALLOC_ANEW 0x00000010