Skip to content

Commit 645ccfa

Browse files
committed
Remove dead code
1 parent d45ad11 commit 645ccfa

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

ddprof-lib/src/main/cpp/vmStructs.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ class HeapUsage;
2323
#define DECL_TYPE_SIZE(name) static uint64_t TYPE_SIZE_NAME(name);
2424
#define SIZE_OF(name) VM##name::type_size()
2525

26-
#define READ_TYPE_SIZE(name, variable) \
27-
if (strcmp(type, #name) == 0) { \
28-
TYPE_SIZE_NAME(variable) = *(uint64_t*)(entry + size_offset); \
29-
continue; \
30-
}
31-
32-
3326
template <typename T>
3427
inline T* cast_to(const void* ptr, uint64_t size) {
3528
assert(size > 0); // Ensure type size has been initialized

0 commit comments

Comments
 (0)