• Tom Tan's avatar
    Move Assembler::AbortedCodeGeneration() from .h to .cc for arm64 · 75d972a6
    Tom Tan authored
    Assembler::AbortedCodeGeneration() is defined in assembler-arm64.h, but it calls
    into Constant::Clear() which is defined in assembler-arm64.cc. This introduces
    dependency to v8_base component when including assembler-arm64.h which is not
    always possible like for V8 unittests target. To fix this, we could define both
    in the same file, like Assembler::IsConstPoolEmpty() calls Constant::Clear() and
    both are defined in assembler-arm64.h, so it works fine.
    
    Bug: chromium:893460
    Change-Id: I895cf0147950fca20142ea5ed18bcd020c1ab866
    Reviewed-on: https://chromium-review.googlesource.com/c/1493293Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59955}
    75d972a6
assembler-arm64.cc 166 KB