Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index c5c932b7516cc70738ad918a9311dabe1e985427..e454a4f04594df2c7ca64035e7b566218ee3fded 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2634,6 +2634,10 @@ THREADED_TEST(InternalFieldsAlignedPointers) { |
void* huge = reinterpret_cast<void*>(~static_cast<uintptr_t>(1)); |
CheckAlignedPointerInInternalField(obj, huge); |
+ |
+ v8::UniquePersistent<v8::Object> persistent(isolate, obj); |
+ CHECK_EQ(1, Object::InternalFieldCount(persistent)); |
+ CHECK_EQ(huge, Object::GetAlignedPointerFromInternalField(persistent, 0)); |
} |