Lib/Target/BufferObject.cpp
/**
 * Allocate memory for buffer object if not already done so
 */
Allocate memory for buffer object if not already done so
Allocate memory for buffer object if not already done so
void BufferObject::alloc_mem(uint32_t size_in_bytes) {
  assert(arm_base  == nullptr);
  arm_base = new uint8_t [size_in_bytes];
  set_size(size_in_bytes);
}
void BufferObject :: alloc_mem ( uint32_t size_in_bytes ) { assert ( arm_base == nullptr ) ; arm_base = new uint8_t [ size_in_bytes ] ; set_size ( size_in_bytes ) ; }
Allocate memory for buffer object if not already done so
Allocate memory for buffer object if not already done so