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

Unified Diff: src/profile-generator.h

Issue 5328001: Fix again HeapEntry size problem, now platform-independent way. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 10 years, 1 month 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 | « no previous file | src/profile-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator.h
diff --git a/src/profile-generator.h b/src/profile-generator.h
index 9f956e115a508c2b00075517dfad68a3c9261946..30d70a2c7495643e922edf251e3fe635bee4e9ef 100644
--- a/src/profile-generator.h
+++ b/src/profile-generator.h
@@ -615,14 +615,10 @@ class HeapEntry BASE_EMBEDDED {
};
HeapEntry* dominator_;
HeapSnapshot* snapshot_;
-#ifdef WIN32
struct Id {
uint32_t id1_;
uint32_t id2_;
- } id_; // This is to avoid extra padding of 64-bit value on MSVC.
-#else
- uint64_t id_;
-#endif
+ } id_; // This is to avoid extra padding of 64-bit value.
const char* name_;
// Paints used for exact retained sizes calculation.
« no previous file with comments | « no previous file | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698