Browse Source

smalloc: revert change to use pointer indirection

Better to compare fixed addresses than to use pointer indirection.
v0.11.4-release
Trevor Norris 12 years ago
parent
commit
eec43351c4
  1. 4
      src/smalloc.cc

4
src/smalloc.cc

@ -255,13 +255,13 @@ class RetainedAllocInfo: public RetainedObjectInfo {
virtual intptr_t GetSizeInBytes();
private:
static const char* label_;
static const char label_[];
char* data_;
int length_;
};
const char* RetainedAllocInfo::label_ = "smalloc";
const char RetainedAllocInfo::label_[] = "smalloc";
RetainedAllocInfo::RetainedAllocInfo(Handle<Value> wrapper) {

Loading…
Cancel
Save