diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java @ 4262:744dade427b8

another batch of work towards GraalCompilation removal: * remove GraalCompilation in various places * add getGlobalStubRegisterConfig() to RiRuntime * remove CallStub xir op * remove template stub code from RiXirGenerator and calleeTemplates from XirTemplate * remove stub management code from GraalCompiler and LIRGenerator * remove Util.archKindsEqual
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 11 Jan 2012 13:35:49 +0100
parents aaac4894175c
children efbb1e33e2f3
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java	Wed Jan 11 12:13:33 2012 +0100
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java	Wed Jan 11 13:35:49 2012 +0100
@@ -499,10 +499,6 @@
          */
         PointerCAS,
         /**
-         * Call the {@link XirTemplate.GlobalFlags#GLOBAL_STUB shared stub} defined by {@code extra} with {@code args} and put the result in {@code r}.
-         */
-        CallStub,
-        /**
          * Call the {@link RiMethod} defined by {@code extra}  with {@code args} and put the result in {@code r}.
          */
         CallRuntime,
@@ -821,11 +817,6 @@
         append(new XirInstruction(CiKind.Void, message, ShouldNotReachHere, null));
     }
 
-    public void callStub(XirTemplate stub, XirOperand result, XirOperand... args) {
-        CiKind resultKind = result == null ? CiKind.Void : result.kind;
-        append(new XirInstruction(resultKind, stub, CallStub, result, args));
-    }
-
     public void callRuntime(Object rt, XirOperand result, XirOperand... args) {
         callRuntime(rt, result, false, args);
     }