Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: runtime/vm/debuginfo.h

Issue 9139080: Rename the VM internal class ByteArray to ByteVector. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/debuginfo_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/debuginfo_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698