changeset 12646:0046afcda972

remove obsolete FrameUtil.set<Type>Safe methods.
author Andreas Woess <andreas.woess@jku.at>
date Wed, 30 Oct 2013 19:59:48 +0100
parents 60c32ab6eb39
children b038b643a3a4
files graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameUtil.java
diffstat 1 files changed, 0 insertions(+), 85 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameUtil.java	Wed Oct 30 19:50:11 2013 +0100
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameUtil.java	Wed Oct 30 19:59:48 2013 +0100
@@ -25,91 +25,6 @@
 package com.oracle.truffle.api.frame;
 
 public final class FrameUtil {
-
-    /**
-     * Write access to a local variable of type {@link Object}.
-     * 
-     * Sets the frame slot type to {@link Object} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setObjectSafe(Frame frame, FrameSlot slot, Object value) {
-        frame.setObject(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code byte}.
-     * 
-     * Sets the frame slot type to {@code byte} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setByteSafe(Frame frame, FrameSlot slot, byte value) {
-        frame.setByte(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code boolean}.
-     * 
-     * Sets the frame slot type to {@code boolean} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setBooleanSafe(Frame frame, FrameSlot slot, boolean value) {
-        frame.setBoolean(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code int}.
-     * 
-     * Sets the frame slot type to {@code int} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setIntSafe(Frame frame, FrameSlot slot, int value) {
-        frame.setInt(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code long}.
-     * 
-     * Sets the frame slot type to {@code long} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setLongSafe(Frame frame, FrameSlot slot, long value) {
-        frame.setLong(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code float}.
-     * 
-     * Sets the frame slot type to {@code float} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setFloatSafe(Frame frame, FrameSlot slot, float value) {
-        frame.setFloat(slot, value);
-    }
-
-    /**
-     * Write access to a local variable of type {@code double}.
-     * 
-     * Sets the frame slot type to {@code double} if it isn't already.
-     * 
-     * @param slot the slot of the local variable
-     * @param value the new value of the local variable
-     */
-    public static void setDoubleSafe(Frame frame, FrameSlot slot, double value) {
-        frame.setDouble(slot, value);
-    }
-
     /**
      * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
      * a guard or statically known).