< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * 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,9 +21,16 @@
  * questions.
  */
 
 package jdk.test.lib.jittester;
 
-public interface VariableBase {
+public abstract class VariableBase extends IRNode {
+    private final VariableInfo variableInfo;
+    protected VariableBase(VariableInfo variableInfo) {
+        super(variableInfo.type);
+        this.variableInfo = variableInfo;
+    }
 
-    VariableInfo get();
+    public VariableInfo getVariableInfo() {
+        return variableInfo;
+    }
 }
< prev index next >