PARSE-RTL now inserts PROFILE-COUNT instructions at the end of basic
authorStephen Adams <edu/mit/csail/zurich/adams>
Sat, 26 Nov 1994 19:20:28 +0000 (19:20 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Sat, 26 Nov 1994 19:20:28 +0000 (19:20 +0000)
commitd9f42e1ea876eaf8a063ca359963ce47cf0d3710
tree20d4905d464ec4afc7de1e2302a855e37e2909fa
parent0742d901f863dae8ee15c68d0127d4dbb77cd9e8
PARSE-RTL now inserts PROFILE-COUNT instructions at the end of basic
block.  It mostly works, but this is the wrong place for it.  There is
no effect unless compiler:generate-profiling-instructions? is true.

The instuctions should be added just prior to assembly.  This would
make PARSE-RTL a reusable utility (we dont want two or three counts
per basic block!), and it would forestall problems with RTL
optimizations that change basic block boundaries (like common suffic
merging).
v8/src/compiler/rtlbase/rtlpars.scm