src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/memory/MemoryCheckpoint.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
42 * This method is used to determine which memory location is killed by this node. Returning |
42 * This method is used to determine which memory location is killed by this node. Returning |
43 * the special value {@link LocationIdentity#any()} will kill all memory locations. |
43 * the special value {@link LocationIdentity#any()} will kill all memory locations. |
44 * |
44 * |
45 * @return the identity of the location killed by this node. |
45 * @return the identity of the location killed by this node. |
46 */ |
46 */ |
47 LocationIdentity getLocationIdentity(); |
47 LocationIdentity getKilledLocationIdentity(); |
48 |
|
49 } |
48 } |
50 |
49 |
51 interface Multi extends MemoryCheckpoint { |
50 interface Multi extends MemoryCheckpoint { |
52 |
51 |
53 /** |
52 /** |
55 * Returning the special value {@link LocationIdentity#any()} will kill all memory |
54 * Returning the special value {@link LocationIdentity#any()} will kill all memory |
56 * locations. |
55 * locations. |
57 * |
56 * |
58 * @return the identities of all locations killed by this node. |
57 * @return the identities of all locations killed by this node. |
59 */ |
58 */ |
60 LocationIdentity[] getLocationIdentities(); |
59 LocationIdentity[] getKilledLocationIdentities(); |
61 |
60 |
62 } |
61 } |
63 |
62 |
64 class TypeAssertion { |
63 class TypeAssertion { |
65 |
64 |