* Moves a dynamic code entry. Throws an exception if there is no dynamic * code entry with the specified starting address. * * @param {number} from The starting address of the entry being moved. * @param {number} to The destination address.
(from, to)
| 113 | * @param {number} to The destination address. |
| 114 | */ |
| 115 | moveCode(from, to) { |
| 116 | const removedNode = this.dynamics_.remove(from); |
| 117 | this.deleteAllCoveredNodes_(this.dynamics_, to, to + removedNode.value.size); |
| 118 | this.dynamics_.insert(to, removedNode.value); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Discards a dynamic code entry. Throws an exception if there is no dynamic |
no test coverage detected