view test/runtime/6626217/from_loader2.java @ 3563:8780fa370aab

Support runtime calls to targets that don't fit in a 32-bit immediate: allow to query the maximum offset of a CiRuntimeCall target to determine the required immediate size and patch call sites with a mov/call instruction pair for indirect calls
author Peter Hofer <peter.hofer@jku.at>
date Wed, 31 Aug 2011 14:55:40 +0200
parents 495caa35b1b5
children
line wrap: on
line source

// A simple class to extend an abstract class and get loaded with different
// loaders.  This class is loaded via LOADER2.
public class from_loader2 implements IFace {
  public many_loader[] gen() {
    many_loader[] x = new many_loader[1];
    x[0] = new many_loader();
    return x;
  }
}