Mercurial > hg > truffle
view test/runtime/6626217/from_loader2.java @ 18495:fe0db662e982
adds ability for substitution guards to have a constructor with an Architecture argument
added extra flags enum to AMD64 to drive code emission features (currently contains UseCountLeadingZerosInstruction and UseCountTrailingZerosInstruction)
moved lzcnt/tzcnt nodes and substitutions to com.oracle.graal.replacements.amd64
Contributed-by: Igor Veresov <igor.veresov@oracle.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Nov 2014 20:32:24 +0100 |
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; } }