OSDN Git Service

Fix the unused but nearly correct method SlotIndexes::insertMBBInMaps() and add
authorCameron Zwarich <zwarich@apple.com>
Sun, 10 Feb 2013 23:29:54 +0000 (23:29 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sun, 10 Feb 2013 23:29:54 +0000 (23:29 +0000)
commitf5844a75154e73a2302767eeecf3b3401e157bb3
treeae9395fdac0d1da6af975c027fae1e6b18d19d3e
parent36f54480f83d47404aceea5d41f8f6b95da2d00b
Fix the unused but nearly correct method SlotIndexes::insertMBBInMaps() and add
support for updating SlotIndexes to MachineBasicBlock::SplitCriticalEdge(). This
calls renumberIndexes() every time; it should be improved to only renumber
locally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174851 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h
lib/CodeGen/MachineBasicBlock.cpp