るりまサーチ

最速Rubyリファレンスマニュアル検索!
116件ヒット [101-116件を表示] (0.136秒)
トップページ > 種類:特異メソッド[x] > クエリ:RubyVM::InstructionSequence[x]

別のキーワード

  1. _builtin rubyvm
  2. rubyvm instruction_names
  3. rubyvm default_params
  4. rubyvm opts
  5. disasm rubyvm::instructionsequence

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 >>

RubyVM::InstructionSequence.load_from_binary_extra_data(binary) -> String (21019.0)

バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。

...埋め込まれたextra_dataを取り出します。

//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence
.load_from_binary_extra_data(binary) # => extra_data
//}

@see RubyVM::InstructionSequence#to_binary...

RubyVM::InstructionSequence.compile_option -> Hash (21013.0)

命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。

...スのコンパイル時のデフォルトの最適化オプションを Hash で返
します。

//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option

# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruc...
...>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>false,
# :trace_instruction=>true,
# :frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}

@see RubyVM::InstructionSequence.compile_option=...
<< < 1 2 >>