bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | 12,823 |
private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | 12,824 |
private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately... | 12,825 |
private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | 12,826 |
private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | 12,827 |
private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | 12,828 |
private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | private void require (String delim) throws SAXException, IOException { int length = delim.length (); char ch []; if (length < dataBuffer.length) { ch = dataBuffer; delim.getChars (0, length, ch, 0); } else ch = delim.toCharArray (); if (USE_CHEATS && length <= (readBufferLength - readBufferPos)... | 12,829 |
private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { Hashtable attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hash... | private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { HashMap attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hashta... | 12,830 |
private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { Hashtable attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hash... | private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { Hashtable attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) { attlist = new Ha... | 12,831 |
private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { Hashtable attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hash... | private void setAttribute (String elName, String name, String type, String enumeration, String value, int valueType) throws Exception { Hashtable attlist; if (skippedPE) return; // Create a new hashtable if necessary. attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hash... | 12,832 |
private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | 12,833 |
private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; ElementDecl element = (ElementDecl) elementInfo.get(name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new ... | 12,834 |
private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | 12,835 |
private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | 12,836 |
private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | private void setElement ( String name, int contentType, String contentModel, Hashtable attributes ) throws SAXException { if (skippedPE) return; Object element [] = (Object []) elementInfo.get (name); // first <!ELEMENT ...> or <!ATTLIST ...> for this type? if (element == null) { element = new Obj... | 12,837 |
private void setExternalEntity (String eName, int eClass, String ids [], String nName) { if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (eClass); entity [1] = ids;// FIXME: shrink!! [2] no longer used, [4] irrelevant given [0] entity [4] = ... | private void setExternalEntity (String eName, int eClass, String ids [], String nName) { if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (eClass); entity [1] = ids;// FIXME: shrink!! [2] no longer used, [4] irrelevant given [0] entity [4] = ... | 12,838 |
private void setExternalEntity (String eName, int eClass, String ids [], String nName) { if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (eClass); entity [1] = ids;// FIXME: shrink!! [2] no longer used, [4] irrelevant given [0] entity [4] = ... | private void setExternalEntity (String eName, int eClass, String ids [], String nName) { if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (eClass); entity [1] = ids;// FIXME: shrink!! [2] no longer used, [4] irrelevant given [0] entity [4] = ... | 12,839 |
private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | 12,840 |
private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | 12,841 |
private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | 12,842 |
private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eN... | 12,843 |
private void setNotation (String nname, String ids []) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror ("Duplicate notation name decl: " + nnam... | private void setNotation(String nname, ExternalIdentifiers ids) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror ("Duplicate notation name decl:... | 12,845 |
private void setNotation (String nname, String ids []) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror ("Duplicate notation name decl: " + nnam... | private void setNotation (String nname, String ids []) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror ("Duplicate notation name decl: " + nnam... | 12,846 |
private void setNotation (String nname, String ids []) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror ("Duplicate notation name decl: " + nnam... | private void setNotation (String nname, String ids []) throws SAXException { if (skippedPE) return; handler.notationDecl (nname, ids); if (notationInfo.get (nname) == null) notationInfo.put (nname, nname); else // VC: Unique Notation Name handler.verror("Duplicate notation name decl: " + nname... | 12,847 |
private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | 12,848 |
private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | 12,849 |
private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | private void setupDecoding (String encodingName) throws SAXException, IOException { encodingName = encodingName.toUpperCase (); // ENCODING_EXTERNAL indicates an encoding that wasn't // autodetected ... we can use builtin decoders, or // ones from the JVM (InputStreamReader). // Otherwise we can only tweak wh... | 12,850 |
private static boolean tryEncoding ( byte sig[], byte b1, byte b2, byte b3, byte b4) { return (sig [0] == b1 && sig [1] == b2 && sig [2] == b3 && sig [3] == b4); } | private static boolean tryEncoding ( byte sig[], byte b1, byte b2, byte b3, byte b4) { return (sig [0] == b1 && sig [1] == b2 && sig [2] == b3 && sig [3] == b4); } | 12,851 |
private String tryEncodingDecl (boolean ignoreEncoding) throws SAXException, IOException { // Read the XML/text declaration. if (tryRead ("<?xml")) { if (tryWhitespace ()) { if (inputStack.size () > 0) { return parseTextDecl (ignoreEncoding); } else { return parseXMLDecl (ignoreEncoding); } ... | private String tryEncodingDecl (boolean ignoreEncoding) throws SAXException, IOException { // Read the XML/text declaration. if (tryRead ("<?xml")) { if (tryWhitespace ()) { if (inputStack.size () > 0) { return parseTextDecl (ignoreEncoding); } else { return parseXMLDecl (ignoreEncoding); } ... | 12,852 |
private String tryEncodingDecl (boolean ignoreEncoding) throws SAXException, IOException { // Read the XML/text declaration. if (tryRead ("<?xml")) { if (tryWhitespace ()) { if (inputStack.size () > 0) { return parseTextDecl (ignoreEncoding); } else { return parseXMLDecl (ignoreEncoding); } ... | private String tryEncodingDecl (boolean ignoreEncoding) throws SAXException, IOException { // Read the XML/text declaration. if (tryRead ("<?xml")) { if (tryWhitespace ()) { if (inputStack.size () > 0) { return parseTextDecl (ignoreEncoding); else { return parseXMLDecl (ignoreEncoding); } ... | 12,853 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,854 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,855 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,856 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,857 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,858 |
private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | private void tryReadCharRef () throws SAXException, IOException { int value = 0; char c; if (tryRead ('x')) {loop1: while (true) { c = readCh (); int n; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': n = c - '0'; break; case 'a'... | 12,859 |
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); AOM.Obj exists = aom.findServant(a_servant); if (exists != null) { ... | public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); AOM.Obj exists = aom.findServant(a_servant); if (exists != null) { ... | 12,860 |
public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj exists = null; if (!applies(IdUniquenessPolicyValue.... | public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj exists = null; if (!applies(IdUniquenessPolicyValue.... | 12,862 |
AttributeNode(TemplateNode children, TemplateNode next, TemplateNode name, TemplateNode namespace, Node source) { super(children, next); this.name = name; this.namespace = namespace; this.source = source; } | AttributeNode(TemplateNode name, TemplateNode namespace, Node source) { super(children, next); this.name = name; this.namespace = namespace; this.source = source; } | 12,863 |
AttributeNode(TemplateNode children, TemplateNode next, TemplateNode name, TemplateNode namespace, Node source) { super(children, next); this.name = name; this.namespace = namespace; this.source = source; } | AttributeNode(TemplateNode children, TemplateNode next, TemplateNode name, TemplateNode namespace, Node source) { this.name = name; this.namespace = namespace; this.source = source; } | 12,864 |
TemplateNode clone(Stylesheet stylesheet) { return new AttributeNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name.clone(stylesheet), (name... | TemplateNode clone(Stylesheet stylesheet) { return new AttributeNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name.clone(stylesheet), (name... | 12,865 |
public synchronized org.omg.CORBA.Object corbaloc(String corbaloc, OrbFunctional orb) throws BAD_PARAM { boolean corbaname; // The alternative addresses, if given. ArrayList alt_addr = new ArrayList(); // The version numbers with default values. int major = 1; int minor = 0; // The host ad... | public synchronized org.omg.CORBA.Object corbaloc(String corbaloc, OrbFunctional orb) throws BAD_PARAM { boolean corbaname; // The alternative addresses, if given. ArrayList alt_addr = new ArrayList(); // The version numbers with default values. int major = 1; int minor = 0; // The host ad... | 12,867 |
public void addRow(Vector rowData) { dataVector.add(rowData); fireTableDataChanged(); } | public void addRow(Vector rowData) { dataVector.add(rowData); newRowsAdded(new TableModelEvent( this, dataVector.size(), dataVector.size(), -1, TableModelEvent.INSERT) ); } | 12,868 |
public int getColumnCount() { return columnIdentifiers.size(); } | public int getColumnCount() { return (columnIdentifiers == null ? 0 : columnIdentifiers.size()); } | 12,869 |
public String getColumnName(int column) { // Check for Column if (columnIdentifiers == null || column >= getColumnCount()) { return super.getColumnName(column); } // Return Column name return (String) columnIdentifiers.get(column); } | public String getColumnName(int column) { // Check for Column if (columnIdentifiers == null || column >= getColumnCount()) { return super.getColumnName(column); } // Return Column name return (String) columnIdentifiers.get(column); } | 12,870 |
public String getColumnName(int column) { // Check for Column if (columnIdentifiers == null || column >= getColumnCount()) { return super.getColumnName(column); } // Return Column name return (String) columnIdentifiers.get(column); } | public String getColumnName(int column) { // Check for Column if (columnIdentifiers == null || column >= getColumnCount()) { return super.getColumnName(column); } // Return Column name } return result; } | 12,871 |
public void insertRow(int row, Vector rowData) { dataVector.add(row, rowData); fireTableDataChanged(); } | public void insertRow(int row, Vector rowData) { dataVector.add(row, rowData); fireTableRowsInserted(row,row); } | 12,872 |
public void moveRow(int startIndex, int endIndex, int toIndex) { for (int index = 0; index < (endIndex - startIndex); index++) { Vector vector = (Vector) dataVector.remove(startIndex); dataVector.add(toIndex, vector); } fireTableDataChanged(); } | public void moveRow(int startIndex, int endIndex, int toIndex) { for (int index = 0; index < (endIndex - startIndex); index++) { Vector vector = (Vector) dataVector.remove(startIndex); dataVector.add(toIndex, vector); } fireTableDataChanged(); } | 12,873 |
public void removeRow(int row) { dataVector.remove(row); fireTableDataChanged(); } | public void removeRow(int row) { dataVector.remove(row); fireTableRowsDeleted(row,row); } | 12,874 |
public void setColumnIdentifiers(Vector columnIdentifiers) { this.columnIdentifiers = columnIdentifiers; setColumnCount(columnIdentifiers.size()); } | public void setColumnIdentifiers(Vector columnIdentifiers) { this.columnIdentifiers = columnIdentifiers; setColumnCount((columnIdentifiers == null ? 0 : columnIdentifiers.size())); } | 12,876 |
public void setRowCount(int rowCount) { dataVector.setSize(rowCount); fireTableDataChanged(); } | public void setRowCount(int rowCount) { dataVector.setSize(rowCount); fireTableRowsDeleted(rowCount,existingRowCount-1); } else { int rowsToAdd = rowCount - existingRowCount; for (int i = 0; i < rowsToAdd; i++) { Vector tmp = new Vector(); tmp.setSize(columnIdentifiers.size()); dataVector.add(tmp); } fireTabl... | 12,877 |
public void setValueAt(Object value, int row, int column) { ((Vector) dataVector.get(row)).set(column, value); fireTableDataChanged(); } | public void setValueAt(Object value, int row, int column) { ((Vector) dataVector.get(row)).set(column, value); fireTableCellUpdated(row,column); } | 12,878 |
public final void visit_instanceof(VmConstClass classRef) { // Resolve the classRef classRef.resolve(loader); // Prepare final X86RegisterPool pool = eContext.getGPRPool(); final VmType<?> resolvedType = classRef.getResolvedVmClass(); if (resolvedType.isInterface() || resolvedType.isArray()) { // It is a... | public final void visit_instanceof(VmConstClass classRef) { // Resolve the classRef classRef.resolve(loader); // Prepare final X86RegisterPool pool = eContext.getGPRPool(); final VmType<?> resolvedType = classRef.getResolvedVmClass(); if (resolvedType.isInterface() || resolvedType.isArray()) { // It is a... | 12,880 |
public final void writeClassInitialize(Label curInstrLabel, GPR classReg, VmType<?> cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(BITS32, classReg, entryPoints.getVmTypeState() .getOffset(), VmTypeState.ST_INITIALIZED); ... | public final void writeClassInitialize(Label curInstrLabel, GPR classReg, VmType<?> cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(BITS32, classReg, entryPoints.getVmTypeState() .getOffset(), VmTypeState.ST_INITIALIZED); ... | 12,881 |
public final void writeClassInitialize(Label curInstrLabel, GPR classReg, VmType<?> cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(BITS32, classReg, entryPoints.getVmTypeState() .getOffset(), VmTypeState.ST_INITIALIZED); ... | public final void writeClassInitialize(Label curInstrLabel, GPR classReg, VmType<?> cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(BITS32, classReg, entryPoints.getVmTypeState() .getOffset(), VmTypeState.ST_INITIALIZED); ... | 12,882 |
public final void writeGetStaticsEntry64(Label curInstrLabel, GPR64 dstReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "gs64", true); os .writeMOV(BITS64, dstReg, this.STATICS, getSharedStaticsOffset(entry)); } | public final void writeGetStaticsEntry64(Label curInstrLabel, GPR64 dstReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "gs64", true); os .writeMOV(BITS64, dstReg, this.STATICS, getSharedStaticsOffset(entry)); } | 12,884 |
public final void writeGetStaticsEntry64(Label curInstrLabel, GPR64 dstReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "gs64", true); os .writeMOV(BITS64, dstReg, this.STATICS, getSharedStaticsOffset(entry)); } | public final void writeGetStaticsEntry64(Label curInstrLabel, GPR64 dstReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "gs64", true); os .writeMOV(BITS64, dstReg, this.STATICS, getSharedStaticsOffset(entry)); } | 12,885 |
public final void writePutStaticsEntry64(Label curInstrLabel, GPR64 srcReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "ps64", true); os .writeMOV(BITS64, this.STATICS, getSharedStaticsOffset(entry), srcReg); } | public final void writePutStaticsEntry64(Label curInstrLabel, GPR64 srcReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "ps64", true); os .writeMOV(BITS64, this.STATICS, getSharedStaticsOffset(entry), srcReg); } | 12,886 |
public final void writePutStaticsEntry64(Label curInstrLabel, GPR64 srcReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "ps64", true); os .writeMOV(BITS64, this.STATICS, getSharedStaticsOffset(entry), srcReg); } | public final void writePutStaticsEntry64(Label curInstrLabel, GPR64 srcReg, VmSharedStaticsEntry entry) { writeLoadSTATICS(curInstrLabel, "ps64", true); os .writeMOV(BITS64, this.STATICS, getSharedStaticsOffset(entry), srcReg); } | 12,887 |
private final void dwreturn(int jvmType) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(jvmType); // Return value must be in EAX:EDX if (!(val.uses(EAX) && val.uses(EDX))) { if (val.uses(EAX) || val.uses(EDX)) { val.push(eContext); } requestRegister(EAX, val); requestRegister(EDX, val); val.l... | private final void dwreturn(int jvmType) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(jvmType); // Return value must be in EAX:EDX if (!(val.uses(EAX) && val.uses(EDX))) { if (val.uses(EAX) || val.uses(EDX)) { val.push(eContext); } requestRegister(EAX, val); requestRegister(EDX, val); val.l... | 12,888 |
private final void ishift(int operation) { final IntItem shift = vstack.popInt(); final boolean isconst = shift.isConstant(); if (!isconst) { requestRegister(ECX, shift); shift.loadTo(eContext, ECX); } // Pop & load final IntItem val = vstack.popInt(); val.loadIf(eContext, ~Item.Kind.LOCAL); if (val.isLoca... | private final void ishift(int operation) { final IntItem shift = vstack.popInt(); final boolean isconst = shift.isConstant(); if (!isconst) { L1AHelper.requestRegister(eContext, ECX, shift); shift.loadTo(eContext, ECX); } // Pop & load final IntItem val = vstack.popInt(); val.loadIf(eContext, ~Item.Kind.LOC... | 12,889 |
public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later L1AHelper.requestRegister(eContext, EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eConte... | 12,890 |
public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = L1AHelper.requestRegister(eContext, JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eConte... | 12,891 |
public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | 12,892 |
public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | public final void visit_anewarray(VmConstClass classRef) { // Claim EAX, we're going to use it later requestRegister(EAX); // Request tmp register final Register classr = requestRegister(JvmType.INT, false); // Pop final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register... | 12,893 |
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); final IntItem result = (IntItem) requestWordRegister(JvmType.INT, false); // Load ref.load(eContext); final Register refr = ref.getRegister(); final Register resultr = result.getRegister(); // Get length os.writeMOV(INTSIZE, resultr, ... | public final void visit_arraylength() { final RefItem ref = vstack.popRef(); final IntItem result = (IntItem) L1AHelper.requestWordRegister( eContext, JvmType.INT, false); // Load ref.load(eContext); final Register refr = ref.getRegister(); final Register resultr = result.getRegister(); // Get length os.writeM... | 12,894 |
public final void visit_athrow() { final RefItem ref = vstack.popRef(); // Exception must be in EAX if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); } // Jump helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); // Release ref.release(eContext); } | public final void visit_athrow() { final RefItem ref = vstack.popRef(); // Exception must be in EAX if (!ref.uses(EAX)) { L1AHelper.requestRegister(eContext, EAX, ref); ref.loadTo(eContext, EAX); } // Jump helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); // Release ref.release(eContext); } | 12,895 |
public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | 12,896 |
public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | 12,897 |
public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | public final void visit_checkcast(VmConstClass classRef) { // Pre-claim ECX requestRegister(ECX); requestRegister(EAX); // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = EAX; final R... | 12,898 |
public final void visit_getfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | public final void visit_getfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | 12,899 |
public final void visit_getfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | public final void visit_getfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | 12,900 |
public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | 12,901 |
public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | 12,902 |
public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | 12,903 |
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.isConstant()) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX); requestRegister(EDX); v.loadTo(eContext, EAX); final LongItem result = LongItem.create... | public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.isConstant()) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX); requestRegister(EDX); v.loadTo(eContext, EAX); final LongItem result = LongItem.create... | 12,904 |
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX requestRegister(EAX, v1); // We need to us... | public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX L1AHelper.requestRegister(eContext, EAX, v1... | 12,905 |
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX requestRegister(EAX, v1); // We need to us... | public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX requestRegister(EAX, v1); // We need to us... | 12,906 |
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register if (prepareForOperation(v1, v2, (jccOpcode == X86Constants.JE) || (jccOpcode... | private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register if (prepareForOperation(v1, v2, (jccOpcode == X86Constants.JE) || (jccOpcode... | 12,907 |
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Local case final WordItem val = (WordItem) vstack.pop(type); if ((type == JvmType.INT) && val.isConstant()) { final int ival = ((IntItem) val).getValue(); final boolean jump; switch (jccOpcode) { case X86Constants.JE: jump = (ival... | private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Local case final WordItem val = (WordItem) vstack.pop(type); if ((type == JvmType.INT) && val.isConstant()) { final int ival = ((IntItem) val).getValue(); final boolean jump; switch (jccOpcode) { case X86Constants.JE: jump = (ival... | 12,908 |
public final void visit_instanceof(VmConstClass classRef) { // Prepare final X86RegisterPool pool = eContext.getPool(); // Pre-claim ECX requestRegister(ECX); // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp registers final Re... | public final void visit_instanceof(VmConstClass classRef) { // Prepare final X86RegisterPool pool = eContext.getPool(); // Pre-claim ECX L1AHelper.requestRegister(eContext, ECX); // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp... | 12,909 |
public final void visit_instanceof(VmConstClass classRef) { // Prepare final X86RegisterPool pool = eContext.getPool(); // Pre-claim ECX requestRegister(ECX); // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp registers final Re... | public final void visit_instanceof(VmConstClass classRef) { // Prepare final X86RegisterPool pool = eContext.getPool(); // Pre-claim ECX requestRegister(ECX); // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp registers final Re... | 12,910 |
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClassChangeError( "Static method in in... | public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClassChangeError( "Static method in in... | 12,911 |
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClassChangeError( "Static method in in... | public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClassChangeError( "Static method in in... | 12,912 |
public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release1(eContext); v1.release1(eContext); vstack.push1(IntItem.createStack()); os.writePOP(S0); // Value2 os.writePOP(EAX); // Value1 os.writeCDQ(); os.writeIDIV_... | public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release1(eContext); v1.release1(eContext); vstack.push1(IntItem.createStack()); os.writePOP(S0); // Value2 os.writePOP(EAX); // Value1 os.writeCDQ(); os.writeIDIV_... | 12,913 |
public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release1(eContext); v1.release1(eContext); vstack.push1(IntItem.createStack()); os.writePOP(S0); // Value2 os.writePOP(EAX); // Value1 os.writeCDQ(); os.writeIDIV_... | public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release1(eContext); v1.release1(eContext); vstack.push1(IntItem.createStack()); os.writePOP(S0); // Value2 os.writePOP(EAX); // Value1 os.writeCDQ(); os.writeIDIV_... | 12,914 |
public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | 12,915 |
public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | 12,916 |
public final void visit_lcmp() { final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); // Load v2.load(eContext); final Register v2_lsb = v2.getLsbRegister(); final Register v2_msb = v2.getMsbRegister(); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_ms... | public final void visit_lcmp() { final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); // Load v2.load(eContext); final Register v2_lsb = v2.getLsbRegister(); final Register v2_msb = v2.getMsbRegister(); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_ms... | 12,917 |
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); v2.release1(eContext); v1.release1(eContext); writePOP64(Register.EBX, Register.ECX); // Value 2 final Register v2_lsb = Register.EBX; final Register v2... | public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); v2.release1(eContext); v1.release1(eContext); writePOP64(Register.EBX, Register.ECX); // Value 2 final Register v2_lsb = Register.EBX; final Register v2... | 12,918 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); final IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push... | 12,919 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); final Register keyr = key.getRegister(); // Conservative assumption, flush stack vstack.p... | 12,920 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | 12,921 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); requestRegister(ECX, v2); v2.loadTo(eContext, ECX); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_msb = v1.getMsbRegister(); os.writeAND(ECX, 63); os.writeCMP_Const(EC... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, ECX, v2); v2.loadTo(eContext, ECX); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_msb = v1.getMsbRegister(); os.writeAND(ECX, 63); ... | 12,922 |
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val.... | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX); ... | 12,923 |
public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val... | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX); ... | 12,924 |
public final void visit_monitorenter() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorEnterMethod()); } | public final void visit_monitorenter() { vstack.push(eContext); final RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorEnterMethod()); } | 12,925 |
public final void visit_monitorexit() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorExitMethod()); } | public final void visit_monitorexit() { vstack.push(eContext); final RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorExitMethod()); } | 12,926 |
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | 12,927 |
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | 12,928 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.