equal
deleted
inserted
replaced
130 assert(index >=0 && index < length(), "symbol index overflow"); |
130 assert(index >=0 && index < length(), "symbol index overflow"); |
131 _body[index] = value; |
131 _body[index] = value; |
132 } |
132 } |
133 |
133 |
134 Symbol(const u1* name, int length, int refcount); |
134 Symbol(const u1* name, int length, int refcount); |
135 void* operator new(size_t size, int len, TRAPS) throw(); |
135 void* operator new(size_t size, int len) throw(); |
136 void* operator new(size_t size, int len, Arena* arena, TRAPS) throw(); |
136 void* operator new(size_t size, int len, Arena* arena) throw(); |
137 |
137 |
138 void operator delete(void* p); |
138 void operator delete(void* p); |
139 |
139 |
140 static int extract_length(uint32_t value) { return value >> 16; } |
140 static int extract_length(uint32_t value) { return value >> 16; } |
141 static int extract_refcount(uint32_t value) { return value & 0xffff; } |
141 static int extract_refcount(uint32_t value) { return value & 0xffff; } |