< prev index next >

src/hotspot/cpu/ppc/stubGenerator_ppc.cpp

Print this page
@@ -4938,10 +4938,14 @@
  
      return start;
    }
  
    // Initialization
+   void generate_preuniverse_stubs() {
+     // preuniverse stubs are not needed for ppc
+   }
+ 
    void generate_initial_stubs() {
      // Generates all stubs and initializes the entry points
  
      // Entry points that exist in all platforms.
      // Note: This is code that could be shared among different platforms - however the

@@ -4957,17 +4961,15 @@
        UnsafeMemoryAccess::create_table(8 + 4); // 8 for copyMemory; 4 for setMemory
      }
  
      // CRC32 Intrinsics.
      if (UseCRC32Intrinsics) {
-       StubRoutines::_crc_table_adr = StubRoutines::ppc::generate_crc_constants(REVERSE_CRC32_POLY);
        StubRoutines::_updateBytesCRC32 = generate_CRC32_updateBytes(StubGenStubId::updateBytesCRC32_id);
      }
  
      // CRC32C Intrinsics.
      if (UseCRC32CIntrinsics) {
-       StubRoutines::_crc32c_table_addr = StubRoutines::ppc::generate_crc_constants(REVERSE_CRC32C_POLY);
        StubRoutines::_updateBytesCRC32C = generate_CRC32_updateBytes(StubGenStubId::updateBytesCRC32C_id);
      }
  
      if (VM_Version::supports_float16()) {
        // For results consistency both intrinsics should be enabled.

@@ -5067,10 +5069,13 @@
    }
  
   public:
    StubGenerator(CodeBuffer* code, StubGenBlobId blob_id) : StubCodeGenerator(code, blob_id) {
      switch(blob_id) {
+     case preuniverse_id:
+       generate_preuniverse_stubs();
+       break;
      case initial_id:
        generate_initial_stubs();
        break;
       case continuation_id:
        generate_continuation_stubs();
< prev index next >