File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
compiler/src/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 34
34
import static org .graalvm .compiler .nodeinfo .NodeSize .SIZE_IGNORED ;
35
35
36
36
import java .util .ArrayList ;
37
+ import java .util .Arrays ;
37
38
import java .util .Collections ;
38
39
import java .util .Iterator ;
39
40
import java .util .List ;
@@ -307,7 +308,7 @@ public ResolvedJavaMethod getMethod() {
307
308
* latter has been subject to instrumentation.
308
309
*/
309
310
public boolean canProduceBytecodeFrame () {
310
- return code != null && code .getCode () == code .getMethod ().getCode ();
311
+ return code != null && Arrays . equals ( code .getCode (), code .getMethod ().getCode () );
311
312
}
312
313
313
314
public void addVirtualObjectMapping (EscapeObjectState virtualObject ) {
You can’t perform that action at this time.
0 commit comments