Index: runtime/vm/debuginfo.h |
diff --git a/runtime/vm/debuginfo.h b/runtime/vm/debuginfo.h |
index 2b4bc8658ad635b911d49a9369a29f17381804ae..de28fda208cc98532a897d2b9ae47e0f99c5654d 100644 |
--- a/runtime/vm/debuginfo.h |
+++ b/runtime/vm/debuginfo.h |
@@ -11,11 +11,11 @@ |
namespace dart { |
-// A basic ByteArray which is growable and uses malloc/free. |
-class ByteArray { |
+// A basic ByteVector which is growable and uses malloc/free. |
+class ByteVector { |
Ivan Posva
2012/01/13 00:32:44
DebugInfo::ByteBuffer => no more conflicts...
|
public: |
- ByteArray() : size_(0), capacity_(0), data_(NULL) { } |
- ~ByteArray() { |
+ ByteVector() : size_(0), capacity_(0), data_(NULL) { } |
+ ~ByteVector() { |
free(data_); |
size_ = 0; |
capacity_ = 0; |
@@ -57,7 +57,7 @@ class ByteArray { |
uint8_t* data_; |
// Disallow assignment |
- DISALLOW_COPY_AND_ASSIGN(ByteArray); |
+ DISALLOW_COPY_AND_ASSIGN(ByteVector); |
}; |
@@ -78,7 +78,7 @@ class DebugInfo { |
void AddCodeRegion(const char* name, uword pc, intptr_t size); |
// Write out all the debug information info the memory region. |
- bool WriteToMemory(ByteArray* region); |
+ bool WriteToMemory(ByteVector* region); |
// Create a new debug information generator. |
static DebugInfo* NewGenerator(); |