OSDN Git Service

[X86] Rename some frame lowering variables
authorReid Kleckner <reid@kleckner.net>
Tue, 16 Jun 2015 18:08:57 +0000 (18:08 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 16 Jun 2015 18:08:57 +0000 (18:08 +0000)
commit8e206c19f4b08e3b9e481b5f3ce608b3574f5228
tree34f9609ed90e41e392b006a26547375c37ff07e6
parentd4364d8c1288df3ea632b3a52ec4a2602b74ee3e
[X86] Rename some frame lowering variables

Old names, new names, and what they really mean:

- IsWin64 -> IsWin64CC: This is true on non-Windows x86_64 platforms
  when the ms_abi calling convention is used.
- IsWinEH -> IsWin64Prologue: True when the target is Win64, regardless
  of calling convention. Changes the prologue to obey the constraints of
  the Win64 unwinder.
- NeedsWinEH -> NeedsWinCFI: We're using the win64 prologue *and* the we
  want .xdata unwind tables. Analogous to NeedsDwarfCFI.

NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp