Skip to content

Instantly share code, notes, and snippets.

@sprsquish
Created September 28, 2011 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sprsquish/1247082 to your computer and use it in GitHub Desktop.
Save sprsquish/1247082 to your computer and use it in GitHub Desktop.
public void usingByteValue();
Code:
0: getstatic #52; //Field scala/Predef$.MODULE$:Lscala/Predef$;
3: ldc2_w #108; //long 56l
6: invokevirtual #113; //Method scala/Predef$.long2Long:(J)Ljava/lang/Long;
9: invokevirtual #119; //Method java/lang/Long.byteValue:()B
12: pop
13: return
public void usingToByte();
Code:
0: ldc2_w #108; //long 56l
3: l2i
4: i2b
5: pop
6: return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment