mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bde8bdc16
commit
cce4e7a1b1
@ -1204,6 +1204,7 @@ void PhyRegAlloc::verifySavedState () {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Finish the job of saveState(), by collapsing FnAllocState into an LLVM
|
||||
/// Constant and stuffing it inside the Module. (NOTE: Soon, there will be
|
||||
/// other, better ways of storing the saved state; this one is cumbersome and
|
||||
@ -1213,8 +1214,11 @@ bool PhyRegAlloc::doFinalization (Module &M) {
|
||||
if (!SaveRegAllocState)
|
||||
return false; // Nothing to do here, unless we're saving state.
|
||||
|
||||
// If saving state into the module, just copy new elements to the
|
||||
// correct global.
|
||||
if (!SaveStateToModule) {
|
||||
ExportedFnAllocState = FnAllocState;
|
||||
// FIXME: should ONLY copy new elements in FnAllocState
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1204,6 +1204,7 @@ void PhyRegAlloc::verifySavedState () {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Finish the job of saveState(), by collapsing FnAllocState into an LLVM
|
||||
/// Constant and stuffing it inside the Module. (NOTE: Soon, there will be
|
||||
/// other, better ways of storing the saved state; this one is cumbersome and
|
||||
@ -1213,8 +1214,11 @@ bool PhyRegAlloc::doFinalization (Module &M) {
|
||||
if (!SaveRegAllocState)
|
||||
return false; // Nothing to do here, unless we're saving state.
|
||||
|
||||
// If saving state into the module, just copy new elements to the
|
||||
// correct global.
|
||||
if (!SaveStateToModule) {
|
||||
ExportedFnAllocState = FnAllocState;
|
||||
// FIXME: should ONLY copy new elements in FnAllocState
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user