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

Unified Diff: test/cctest/test-utils-a64.h

Issue 169523005: make a64 compile on mavericks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « test/cctest/test-assembler-a64.cc ('k') | test/cctest/test-utils-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-utils-a64.h
diff --git a/test/cctest/test-utils-a64.h b/test/cctest/test-utils-a64.h
index d8fa9a8de5e552e8f8277a045c988fe481a2b98f..250277542abbc05551863f3ff27fc7306303c26e 100644
--- a/test/cctest/test-utils-a64.h
+++ b/test/cctest/test-utils-a64.h
@@ -161,12 +161,13 @@ class RegisterDump {
uint64_t flags_;
} dump_;
- STATIC_ASSERT(sizeof(dump_.d_[0]) == kDRegSizeInBytes);
- STATIC_ASSERT(sizeof(dump_.s_[0]) == kSRegSizeInBytes);
- STATIC_ASSERT(sizeof(dump_.d_[0]) == kXRegSizeInBytes);
- STATIC_ASSERT(sizeof(dump_.s_[0]) == kWRegSizeInBytes);
- STATIC_ASSERT(sizeof(dump_.x_[0]) == kXRegSizeInBytes);
- STATIC_ASSERT(sizeof(dump_.w_[0]) == kWRegSizeInBytes);
+ static dump_t for_sizeof();
+ STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kDRegSizeInBytes);
+ STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kSRegSizeInBytes);
+ STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kXRegSizeInBytes);
+ STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kWRegSizeInBytes);
+ STATIC_ASSERT(sizeof(for_sizeof().x_[0]) == kXRegSizeInBytes);
+ STATIC_ASSERT(sizeof(for_sizeof().w_[0]) == kWRegSizeInBytes);
};
// Some of these methods don't use the RegisterDump argument, but they have to
« no previous file with comments | « test/cctest/test-assembler-a64.cc ('k') | test/cctest/test-utils-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698