8278533: Remove some unused methods in c1_Instruction and c1_ValueMap
Reviewed-by: chagedorn
This commit is contained in:
parent
aed3ea2043
commit
3e0b083f20
@ -890,11 +890,6 @@ void BlockList::iterate_backward(BlockClosure* closure) {
|
||||
}
|
||||
|
||||
|
||||
void BlockList::blocks_do(void f(BlockBegin*)) {
|
||||
for (int i = length() - 1; i >= 0; i--) f(at(i));
|
||||
}
|
||||
|
||||
|
||||
void BlockList::values_do(ValueVisitor* f) {
|
||||
for (int i = length() - 1; i >= 0; i--) at(i)->block_values_do(f);
|
||||
}
|
||||
|
@ -137,7 +137,6 @@ class BlockList: public GrowableArray<BlockBegin*> {
|
||||
|
||||
void iterate_forward(BlockClosure* closure);
|
||||
void iterate_backward(BlockClosure* closure);
|
||||
void blocks_do(void f(BlockBegin*));
|
||||
void values_do(ValueVisitor* f);
|
||||
void print(bool cfg_only = false, bool live_only = false) PRODUCT_RETURN;
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -116,7 +116,6 @@ class ValueMap: public CompilationResourceObj {
|
||||
void kill_memory();
|
||||
void kill_field(ciField* field, bool all_offsets);
|
||||
void kill_array(ValueType* type);
|
||||
void kill_exception();
|
||||
void kill_map(ValueMap* map);
|
||||
void kill_all();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user