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

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

Issue 194473005: A64: Rename k<Y>RegSize to k<Y>RegSizeInBits, and k<Y>RegSizeInBytes to k<Y>RegSize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 250277542abbc05551863f3ff27fc7306303c26e..6a8a95194db0b1663d50b480e3ee5c59f3d169da 100644
--- a/test/cctest/test-utils-a64.h
+++ b/test/cctest/test-utils-a64.h
@@ -162,12 +162,12 @@ class RegisterDump {
} dump_;
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);
+ STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kDRegSize);
+ STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kSRegSize);
+ STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kXRegSize);
+ STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kWRegSize);
+ STATIC_ASSERT(sizeof(for_sizeof().x_[0]) == kXRegSize);
+ STATIC_ASSERT(sizeof(for_sizeof().w_[0]) == kWRegSize);
};
// 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