@@ -323,9 +323,6 @@ ROMClassWriter::ROMClassWriter(BufferManager *bufferManager, ClassFileOracle *cl
323323 _injectedInterfaceInfoSRPKey (srpKeyProducer->generateKey ()),
324324 _loadableDescriptorsInfoSRPKey(srpKeyProducer->generateKey ()),
325325#endif /* defined(J9VM_OPT_VALHALLA_VALUE_TYPES) */
326- #if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES)
327- _implicitCreationSRPKey (srpKeyProducer->generateKey ()),
328- #endif /* defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) */
329326 _permittedSubclassesInfoSRPKey (srpKeyProducer->generateKey ())
330327{
331328 _methodNotes = (MethodNotes *) _bufferManager->alloc (classFileOracle->getMethodsCount () * sizeof (MethodNotes));
@@ -462,9 +459,6 @@ ROMClassWriter::writeROMClass(Cursor *cursor,
462459 writeInjectedInterfaces (cursor, markAndCountOnly);
463460 writeloadableDescriptors (cursor, markAndCountOnly);
464461#endif /* J9VM_OPT_VALHALLA_VALUE_TYPES */
465- #if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES)
466- writeImplicitCreation (cursor, markAndCountOnly);
467- #endif /* defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) */
468462 writeOptionalInfo (cursor);
469463 writeCallSiteData (cursor, markAndCountOnly);
470464#if defined(J9VM_OPT_METHOD_HANDLE)
@@ -1931,27 +1925,6 @@ ROMClassWriter::writePermittedSubclasses(Cursor *cursor, bool markAndCountOnly)
19311925 }
19321926}
19331927
1934- #if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES)
1935- /*
1936- * ImplicitCreation ROM class layout:
1937- * 4 bytes for flags (actually takes up two, but use 4 for alignment)
1938- */
1939- void
1940- ROMClassWriter::writeImplicitCreation (Cursor *cursor, bool markAndCountOnly)
1941- {
1942- if (_classFileOracle->hasImplicitCreation ()) {
1943- cursor->mark (_implicitCreationSRPKey);
1944-
1945- U_16 flags = _classFileOracle->getImplicitCreationFlags ();
1946- if (markAndCountOnly) {
1947- cursor->skip (sizeof (U_32));
1948- } else {
1949- cursor->writeU32 (flags, Cursor::GENERIC);
1950- }
1951- }
1952- }
1953- #endif /* defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) */
1954-
19551928#if defined(J9VM_OPT_VALHALLA_VALUE_TYPES)
19561929/*
19571930 * LoadableDescriptors ROM class layout:
@@ -2085,11 +2058,6 @@ ROMClassWriter::writeOptionalInfo(Cursor *cursor)
20852058 cursor->writeSRP (_loadableDescriptorsInfoSRPKey, Cursor::SRP_TO_GENERIC);
20862059 }
20872060#endif /* defined(J9VM_OPT_VALHALLA_VALUE_TYPES) */
2088- #if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES)
2089- if (_classFileOracle->hasImplicitCreation ()) {
2090- cursor->writeSRP (_implicitCreationSRPKey, Cursor::SRP_TO_GENERIC);
2091- }
2092- #endif /* defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) */
20932061}
20942062
20952063void
0 commit comments