diff visualizer/Data/src/com/sun/hotspot/igv/data/InputBytecode.java @ 5800:be428fe2d86c

handles changes in IGV bytecode format
author Doug Simon <doug.simon@oracle.com>
date Tue, 10 Jul 2012 09:36:34 +0200
parents 015fb895586b
children
line wrap: on
line diff
--- a/visualizer/Data/src/com/sun/hotspot/igv/data/InputBytecode.java	Mon Jul 09 22:18:49 2012 +0200
+++ b/visualizer/Data/src/com/sun/hotspot/igv/data/InputBytecode.java	Tue Jul 10 09:36:34 2012 +0200
@@ -31,11 +31,15 @@
 
     private int bci;
     private String name;
+    private String operands;
+    private String comment;
     private InputMethod inlined;
 
-    public InputBytecode(int bci, String name) {
+    public InputBytecode(int bci, String name, String operands, String comment) {
         this.bci = bci;
         this.name = name;
+        this.operands = operands;
+        this.comment = comment;
     }
 
     public InputMethod getInlined() {
@@ -53,4 +57,12 @@
     public String getName() {
         return name;
     }
+
+    public String getOperands() {
+        return operands;
+    }
+
+    public String getComment() {
+        return comment;
+    }
 }