• Dmitrii Tsykunov's avatar
    Fix test-assembler-ia32 · 58abe44b
    Dmitrii Tsykunov authored
    When compiled with gn argument 'is_debug=false' these tests fail on
    Windows due to the fact that they're compiled with '/guard:cf'.
    
    This CL changes the use of FUNCTION_CAST to GeneratedCode::Call which
    contains DISABLE_CFI_ICALL attribute. This is analogous to how
    assembled functions are called in Assembler tests for other
    architectures.
    
    Change-Id: I330e29a508ad1421cb98dea3d9761f05272ab763
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3341511
    Auto-Submit: Dmitrii Tsykunov <dtsykunov1@yandex-team.ru>
    Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
    Commit-Queue: Victor Gomes <victorgomes@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78386}
    58abe44b
test-assembler-ia32.cc 43.3 KB