comparison jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/ValueUtil.java @ 22689:f48b657b550d

Remove unused class VirtualStackSlot.
author Roland Schatz <roland.schatz@oracle.com>
date Fri, 16 Oct 2015 13:44:47 +0200
parents 1bbd4a7c274b
children 1d4ce2d19e52
comparison
equal deleted inserted replaced
22688:ef7d87db544a 22689:f48b657b550d
86 } 86 }
87 87
88 public static StackSlot asStackSlot(Value value) { 88 public static StackSlot asStackSlot(Value value) {
89 assert value != null; 89 assert value != null;
90 return (StackSlot) value; 90 return (StackSlot) value;
91 }
92
93 public static boolean isStackSlotValue(Value value) {
94 assert value != null;
95 return value instanceof StackSlotValue;
96 }
97
98 public static StackSlotValue asStackSlotValue(Value value) {
99 assert value != null;
100 return (StackSlotValue) value;
101 }
102
103 public static boolean isVirtualStackSlot(Value value) {
104 assert value != null;
105 return value instanceof VirtualStackSlot;
106 }
107
108 public static VirtualStackSlot asVirtualStackSlot(Value value) {
109 assert value != null;
110 return (VirtualStackSlot) value;
111 } 91 }
112 92
113 public static boolean isRegister(Value value) { 93 public static boolean isRegister(Value value) {
114 assert value != null; 94 assert value != null;
115 return value instanceof RegisterValue; 95 return value instanceof RegisterValue;