src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.jtt/src/org/graalvm/compiler/lir/jtt/ConstantStackCastTest.java
changeset 57537 ecc6e394475f
parent 52910 583fd71c47d6
equal deleted inserted replaced
57536:67cce1b84a9a 57537:ecc6e394475f
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 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.
    97     public byte testByte(byte value) {
    97     public byte testByte(byte value) {
    98         return testCopyByte(stackCopyByte, value);
    98         return testCopyByte(stackCopyByte, value);
    99     }
    99     }
   100 
   100 
   101     @Test
   101     @Test
   102     public void runByte() throws Throwable {
   102     public void runByte() {
   103         runTest("testByte", (byte) 0);
   103         runTest("testByte", (byte) 0);
   104     }
   104     }
   105 
   105 
   106 }
   106 }