001/*
002 *  This file is part of the Jikes RVM project (http://jikesrvm.org).
003 *
004 *  This file is licensed to You under the Eclipse Public License (EPL);
005 *  You may not use this file except in compliance with the License. You
006 *  may obtain a copy of the License at
007 *
008 *      http://www.opensource.org/licenses/eclipse-1.0.php
009 *
010 *  See the COPYRIGHT.txt file distributed with this work for information
011 *  regarding copyright ownership.
012 */
013package org.jikesrvm.osr.bytecodes;
014
015
016/**
017 *  pop
018 */
019public class Pop extends PseudoBytecode {
020  @Override
021  public byte[] getBytes() {
022    byte[] codes = new byte[1];
023    codes[0] = 87;
024    return codes;
025  }
026
027  @Override
028  public int getSize() {
029    return 1;
030  }
031
032  @Override
033  public int stackChanges() {
034    return -1;
035  }
036
037  @Override
038  public String toString() {
039    return "Pop";
040  }
041}