< prev index next >

src/hotspot/cpu/ppc/stubGenerator_ppc.cpp

Print this page

4650     if (UseBASE64Intrinsics) {
4651       StubRoutines::_base64_decodeBlock = generate_base64_decodeBlock();
4652       StubRoutines::_base64_encodeBlock = generate_base64_encodeBlock();
4653     }
4654 #endif
4655   }
4656 
4657  public:
4658   StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) {
4659     // replace the standard masm with a special one:
4660     _masm = new MacroAssembler(code);
4661     if (all) {
4662       generate_all();
4663     } else {
4664       generate_initial();
4665     }
4666   }
4667 };
4668 
4669 #define UCM_TABLE_MAX_ENTRIES 8
4670 void StubGenerator_generate(CodeBuffer* code, bool all) {
4671   if (UnsafeCopyMemory::_table == NULL) {
4672     UnsafeCopyMemory::create_table(UCM_TABLE_MAX_ENTRIES);
4673   }
4674   StubGenerator g(code, all);
4675 }

4650     if (UseBASE64Intrinsics) {
4651       StubRoutines::_base64_decodeBlock = generate_base64_decodeBlock();
4652       StubRoutines::_base64_encodeBlock = generate_base64_encodeBlock();
4653     }
4654 #endif
4655   }
4656 
4657  public:
4658   StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) {
4659     // replace the standard masm with a special one:
4660     _masm = new MacroAssembler(code);
4661     if (all) {
4662       generate_all();
4663     } else {
4664       generate_initial();
4665     }
4666   }
4667 };
4668 
4669 #define UCM_TABLE_MAX_ENTRIES 8
4670 void StubGenerator_generate(CodeBuffer* code, int phase) {
4671   if (UnsafeCopyMemory::_table == NULL) {
4672     UnsafeCopyMemory::create_table(UCM_TABLE_MAX_ENTRIES);
4673   }
4674   StubGenerator g(code, phase);
4675 }
< prev index next >