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)
| 357 | /// This will try to move it out of the ordinary path of execution |
| 358 | /// when lowered to machine code. |
| 359 | pub fn set_cold(&mut self, block: Block) { |
| 360 | self.blocks[block].cold = true; |
| 361 | } |
| 362 | |
| 363 | /// Is the given block cold? |
| 364 | pub fn is_cold(&self, block: Block) -> bool { |
no outgoing calls