view test/runtime/6626217/You_Have_Been_P0wned.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


// I can cast any old thing I want to this type object:
public class You_Have_Been_P0wned {
  // Make a bunch of int-fields so I can peek & poke it
  int _a;
  int _b;
  int _c;
  int _d;

}