< prev index next >

test/testlibrary/jittester/src/jdk/test/lib/jittester/VariableBase.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2005, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,29 **** * questions. */ package jdk.test.lib.jittester; ! public interface VariableBase { ! VariableInfo get(); } --- 21,36 ---- * questions. */ package jdk.test.lib.jittester; ! public abstract class VariableBase extends IRNode { ! private final VariableInfo variableInfo; ! protected VariableBase(VariableInfo variableInfo) { ! super(variableInfo.type); ! this.variableInfo = variableInfo; ! } ! public VariableInfo getVariableInfo() { ! return variableInfo; ! } }
< prev index next >