WasmByteCodeWriter.h 701 B

1234567891011121314151617181920
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation and contributors. 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. #ifdef ENABLE_WASM
  7. #include "ByteCodeWriter.h"
  8. #include "IWasmByteCodeWriter.h"
  9. struct WasmByteCodeWriter;
  10. #define WASM_BYTECODE_WRITER
  11. #define AsmJsByteCodeWriter WasmByteCodeWriter
  12. #include "ByteCode/AsmJsByteCodeWriter.h"
  13. #undef WASM_BYTECODE_WRITER
  14. #undef AsmJsByteCodeWriter
  15. #endif