882 x->set_base(base);
883 x->set_index(index);
884 x->set_log2_scale(log2_scale);
885 if (PrintUnsafeOptimization) {
886 tty->print_cr("Canonicalizer: UnsafeRawOp id %d: base = id %d, index = id %d, log2_scale = %d",
887 x->id(), x->base()->id(), x->index()->id(), x->log2_scale());
888 }
889 }
890 }
891
892 void Canonicalizer::do_RoundFP(RoundFP* x) {}
893 void Canonicalizer::do_UnsafeGetRaw(UnsafeGetRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
894 void Canonicalizer::do_UnsafePutRaw(UnsafePutRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
895 void Canonicalizer::do_UnsafeGetObject(UnsafeGetObject* x) {}
896 void Canonicalizer::do_UnsafePutObject(UnsafePutObject* x) {}
897 void Canonicalizer::do_UnsafePrefetchRead (UnsafePrefetchRead* x) {}
898 void Canonicalizer::do_UnsafePrefetchWrite(UnsafePrefetchWrite* x) {}
899 void Canonicalizer::do_ProfileCall(ProfileCall* x) {}
900 void Canonicalizer::do_ProfileInvoke(ProfileInvoke* x) {}
901 void Canonicalizer::do_RuntimeCall(RuntimeCall* x) {}
|
882 x->set_base(base);
883 x->set_index(index);
884 x->set_log2_scale(log2_scale);
885 if (PrintUnsafeOptimization) {
886 tty->print_cr("Canonicalizer: UnsafeRawOp id %d: base = id %d, index = id %d, log2_scale = %d",
887 x->id(), x->base()->id(), x->index()->id(), x->log2_scale());
888 }
889 }
890 }
891
892 void Canonicalizer::do_RoundFP(RoundFP* x) {}
893 void Canonicalizer::do_UnsafeGetRaw(UnsafeGetRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
894 void Canonicalizer::do_UnsafePutRaw(UnsafePutRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
895 void Canonicalizer::do_UnsafeGetObject(UnsafeGetObject* x) {}
896 void Canonicalizer::do_UnsafePutObject(UnsafePutObject* x) {}
897 void Canonicalizer::do_UnsafePrefetchRead (UnsafePrefetchRead* x) {}
898 void Canonicalizer::do_UnsafePrefetchWrite(UnsafePrefetchWrite* x) {}
899 void Canonicalizer::do_ProfileCall(ProfileCall* x) {}
900 void Canonicalizer::do_ProfileInvoke(ProfileInvoke* x) {}
901 void Canonicalizer::do_RuntimeCall(RuntimeCall* x) {}
902 void Canonicalizer::do_MemBar(MemBar* x) {}
|