Skip to content

Instantly share code, notes, and snippets.

@aviat
Created December 27, 2017 21:23
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 aviat/ec20a97a4bdf959037019691839d47db to your computer and use it in GitHub Desktop.
Save aviat/ec20a97a4bdf959037019691839d47db to your computer and use it in GitHub Desktop.
puts RubyVM::InstructionSequence.compile("def foo x
_y = x
end", nil, nil, 0, trace_instruction: true, operands_unification: false).disasm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment