@@ -441,12 +441,7 @@ WEBKIT_EXECUTABLE(LLIntOffsetsExtractor)
441441# LLIntOffsetsExtractor matches, no output is generated. To make this target consistent and avoid
442442# running this command for every build, we artificially update LLIntAssembly.h's mtime (using touch)
443443# after every asm.rb run.
444- if (MSVC AND NOT ENABLE_C_LOOP)
445- set (LLIntOutput LowLevelInterpreterWin.asm)
446- set (OFFLINE_ASM_ARGS --assembler=MASM)
447- else ()
448- set (LLIntOutput LLIntAssembly.h)
449- endif ()
444+ set (LLIntOutput LLIntAssembly.h)
450445
451446if (CMAKE_SYSTEM_NAME MATCHES "Linux" )
452447 set (OFFLINE_ASM_ARGS --binary-format=ELF)
@@ -465,20 +460,16 @@ add_custom_command(
465460# the .cpp files below is similar to the one in the previous comment. However, since these .cpp
466461# files are used to build JavaScriptCore itself, we can just add LLIntAssembly.h to JSC_HEADERS
467462# since it is used in the add_library() call at the end of this file.
468- if (MSVC AND WTF_CPU_X86_64 AND NOT ENABLE_C_LOOP)
469- list (APPEND JavaScriptCore_SOURCES ${JavaScriptCore_DERIVED_SOURCES_DIR} /LowLevelInterpreterWin.asm)
470- add_library (LowLevelInterpreterLib OBJECT llint/LowLevelInterpreter.cpp )
471- else ()
472- # As there's poor toolchain support for using `.file` directives in
473- # inline asm (i.e. there's no way to avoid clashes with the `.file`
474- # directives generated by the C code in the compilation unit), we
475- # introduce a postprocessing pass for the asm that gets assembled into
476- # an object file. We only need to do this for LowLevelInterpreter.cpp
477- # and cmake doesn't allow us to introduce a compiler wrapper for a
478- # single source file, so we need to create a separate target for it.
479- add_library (LowLevelInterpreterLib OBJECT llint/LowLevelInterpreter.cpp
480- ${JavaScriptCore_DERIVED_SOURCES_DIR} /${LLIntOutput} )
481- endif ()
463+
464+ # As there's poor toolchain support for using `.file` directives in
465+ # inline asm (i.e. there's no way to avoid clashes with the `.file`
466+ # directives generated by the C code in the compilation unit), we
467+ # introduce a postprocessing pass for the asm that gets assembled into
468+ # an object file. We only need to do this for LowLevelInterpreter.cpp
469+ # and cmake doesn't allow us to introduce a compiler wrapper for a
470+ # single source file, so we need to create a separate target for it.
471+ add_library (LowLevelInterpreterLib OBJECT llint/LowLevelInterpreter.cpp
472+ ${JavaScriptCore_DERIVED_SOURCES_DIR} /${LLIntOutput} )
482473
483474# WebAssembly generator
484475
0 commit comments