85 #include "image_impl.h"
90 void *ImageImpl::operator
new(
size_t s, uint32 data_size) {
92 return ::operator
new(s);
95 void ImageImpl::operator
delete(
void *o) {
100 ImageImpl::ImageImpl(Timestamp timestamp, uint32 map_size, uint32 code_size, uint32 names_size) : timestamp_(timestamp), map_size_(map_size), code_size_(code_size), names_size_(names_size) {
102 data_ =
new word32[map_size_ + code_size_ + names_size_];
105 ImageImpl::~ImageImpl() {
110 Timestamp ImageImpl::timestamp()
const {
115 uint32 ImageImpl::map_size()
const {
120 uint32 ImageImpl::code_size()
const {
125 uint32 ImageImpl::names_size()
const {
130 word32 *ImageImpl::data()
const {
135 word32 &ImageImpl::data(uint32 i) {
140 word32 &ImageImpl::data(uint32 i)
const {