Skip to content

Commit 40df476

Browse files
committed
Remove unused TeeLocal operation
1 parent 1471dbd commit 40df476

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

‎graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode_dsl/PBytecodeDSLRootNode.java‎

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3918,38 +3918,6 @@ public static Object perform(
39183918
}
39193919
}
39203920

3921-
@Operation(storeBytecodeIndex = false)
3922-
@ConstantOperand(type = LocalAccessor.class)
3923-
public static final class TeeLocal {
3924-
@Specialization
3925-
public static int doInt(VirtualFrame frame, LocalAccessor local, int value,
3926-
@Bind BytecodeNode bytecode) {
3927-
local.setInt(bytecode, frame, value);
3928-
return value;
3929-
}
3930-
3931-
@Specialization
3932-
public static double doDouble(VirtualFrame frame, LocalAccessor local, double value,
3933-
@Bind BytecodeNode bytecode) {
3934-
local.setDouble(bytecode, frame, value);
3935-
return value;
3936-
}
3937-
3938-
@Specialization
3939-
public static long doLong(VirtualFrame frame, LocalAccessor local, long value,
3940-
@Bind BytecodeNode bytecode) {
3941-
local.setLong(bytecode, frame, value);
3942-
return value;
3943-
}
3944-
3945-
@Specialization(replaces = {"doInt", "doDouble", "doLong"})
3946-
public static Object doObject(VirtualFrame frame, LocalAccessor local, Object value,
3947-
@Bind BytecodeNode bytecode) {
3948-
local.setObject(bytecode, frame, value);
3949-
return value;
3950-
}
3951-
}
3952-
39533921
@Operation(storeBytecodeIndex = true)
39543922
public static final class GetLen {
39553923
@Specialization

0 commit comments

Comments
 (0)