aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-02-14 23:15:38 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-02-14 23:15:38 +0000
commit1dd377d8c8f5ba6e2c26221f372843d4e1663c4d (patch)
treef5f9cc9a3353c17ee6f854651332ac4378fe12b5 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
parent30583986553220a2fa299913a16c3b057e32ec80 (diff)
downloadllvm-1dd377d8c8f5ba6e2c26221f372843d4e1663c4d.zip
llvm-1dd377d8c8f5ba6e2c26221f372843d4e1663c4d.tar.gz
llvm-1dd377d8c8f5ba6e2c26221f372843d4e1663c4d.tar.bz2
Move more fragments of spill weight calculation into CalcSpillWeights.h
Simplify the spill weight calculation a bit by bypassing getApproximateInstructionCount() and using LiveInterval::getSize() directly. This changes the computed spill weights, but only by a constant factor in each function. It should not affect how spill weights compare against each other, and so it shouldn't affect code generation. llvm-svn: 125530
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions