Mark a block as "cold". This will try to move it out of the ordinary path of execution when lowered to machine code.
(&mut self, block: Block)
| 356 | /// This will try to move it out of the ordinary path of execution |
| 357 | /// when lowered to machine code. |
| 358 | pub fn set_cold_block(&mut self, block: Block) { |
| 359 | self.func.layout.set_cold(block); |
| 360 | } |
| 361 | |
| 362 | /// Insert `block` in the layout *after* the existing block `after`. |
| 363 | pub fn insert_block_after(&mut self, block: Block, after: Block) { |
no test coverage detected