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

Unified Diff: test/cctest/test-transitions.cc

Issue 2629423002: [runtime] Remove PropertyType definition and use PropertyKind/PropertyLocation instead. (Closed)
Patch Set: Created 3 years, 11 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-field-type-tracking.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-transitions.cc
diff --git a/test/cctest/test-transitions.cc b/test/cctest/test-transitions.cc
index 2f009000575ba7ee445d9bf7d7e71921ad0f8126..842a6ca47f089e480ad7571d23b42089c147688a 100644
--- a/test/cctest/test-transitions.cc
+++ b/test/cctest/test-transitions.cc
@@ -25,25 +25,6 @@ using namespace v8::internal;
// Helper functions.
//
-static void CheckPropertyDetailsFieldsConsistency(PropertyType type,
- PropertyKind kind,
- PropertyLocation location) {
- int type_value = PropertyDetails::TypeField::encode(type);
- int kind_location_value = PropertyDetails::KindField::encode(kind) |
- PropertyDetails::LocationField::encode(location);
- CHECK_EQ(type_value, kind_location_value);
-}
-
-
-TEST(PropertyDetailsFieldsConsistency) {
- CheckPropertyDetailsFieldsConsistency(DATA, kData, kField);
- CheckPropertyDetailsFieldsConsistency(DATA_CONSTANT, kData, kDescriptor);
- CheckPropertyDetailsFieldsConsistency(ACCESSOR, kAccessor, kField);
- CheckPropertyDetailsFieldsConsistency(ACCESSOR_CONSTANT, kAccessor,
- kDescriptor);
-}
-
-
TEST(TransitionArray_SimpleFieldTransitions) {
CcTest::InitializeVM();
v8::HandleScope scope(CcTest::isolate());
« no previous file with comments | « test/cctest/test-field-type-tracking.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698