* Registers statically compiled code entry. * * @param {string} name Code entry name. * @param {number} startAddr Starting address. * @param {number} endAddr Ending address.
(name, startAddr, endAddr)
| 483 | * @param {number} endAddr Ending address. |
| 484 | */ |
| 485 | addStaticCode(name, startAddr, endAddr) { |
| 486 | const entry = new CodeEntry(endAddr - startAddr, name, 'CPP'); |
| 487 | this.codeMap_.addStaticCode(startAddr, entry); |
| 488 | return entry; |
| 489 | } |
| 490 | |
| 491 | /** |
| 492 | * Registers dynamic (JIT-compiled) code entry. |