Guest User

Untitled

a guest
Feb 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. for a in b; end
  2.  
  3. Before:
  4. // access flags 1
  5. public block_0$RUBY$__for__(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
  6. TRYCATCHBLOCK L0 L1 L1 org/jruby/exceptions/JumpException$RedoJump
  7. ALOAD 1
  8. INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getRuntime ()Lorg/jruby/Ruby;
  9. ASTORE 6
  10. ALOAD 6
  11. INVOKEVIRTUAL org/jruby/Ruby.getNil ()Lorg/jruby/runtime/builtin/IRubyObject;
  12. ASTORE 8
  13. ALOAD 1
  14. INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getCurrentScope ()Lorg/jruby/runtime/DynamicScope;
  15. ASTORE 5
  16. ALOAD 5
  17. INVOKEVIRTUAL org/jruby/runtime/DynamicScope.getValues ()[Lorg/jruby/runtime/builtin/IRubyObject;
  18. ASTORE 7
  19. ALOAD 3
  20. ALOAD 5
  21. SWAP
  22. INVOKEVIRTUAL org/jruby/runtime/DynamicScope.setValueZeroDepthZero (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
  23. ALOAD 5
  24. SWAP
  25. INVOKEVIRTUAL org/jruby/runtime/DynamicScope.setValueZeroDepthZero (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
  26. POP
  27. L0
  28. FRAME FULL [ruby/__dash_e__ org/jruby/runtime/ThreadContext org/jruby/runtime/builtin/IRubyObject org/jruby/runtime/builtin/IRubyObject T org/jruby/runtime/DynamicScope org/jruby/Ruby [Lorg/jruby/runtime/builtin/IRubyObject; org/jruby/runtime/builtin/IRubyObject] []
  29. ALOAD 8
  30. ARETURN
  31. L1
  32. FRAME SAME1 org/jruby/exceptions/JumpException$RedoJump
  33. POP
  34. GOTO L0
  35. LOCALVARIABLE locals Lorg/jruby/runtime/DynamicScope; L0 L1 5
  36. MAXSTACK = 2
  37. MAXLOCALS = 9
  38.  
  39.  
  40. After:
  41. // access flags 1
  42. public block_0$RUBY$__for__(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
  43. ALOAD 1
  44. INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getRuntime ()Lorg/jruby/Ruby;
  45. ASTORE 6
  46. ALOAD 6
  47. INVOKEVIRTUAL org/jruby/Ruby.getNil ()Lorg/jruby/runtime/builtin/IRubyObject;
  48. ASTORE 8
  49. ALOAD 1
  50. INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getCurrentScope ()Lorg/jruby/runtime/DynamicScope;
  51. ASTORE 5
  52. ALOAD 3
  53. DUP
  54. ASTORE 11
  55. ASTORE 11
  56. L0
  57. ALOAD 8
  58. ARETURN
  59. L1
  60. LOCALVARIABLE a Lorg/jruby/runtime/builtin/IRubyObject; L0 L1 11
  61. MAXSTACK = 2
  62. MAXLOCALS = 12
Add Comment
Please, Sign In to add comment