Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix opcode_doc.t, and expand some docs for the old-style load_bytecode
  • Loading branch information
Whiteknight committed Jul 22, 2011
1 parent 0838d53 commit 5f99543
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ops/core.ops
Expand Up @@ -79,10 +79,16 @@ Note: Do B<not> use this opcode. It is for internal use only.
=item B<load_bytecode>(in STR) =item B<load_bytecode>(in STR)


Load Parrot bytecode from file $1, and search the library path to locate the Load Parrot bytecode from file $1, and search the library path to locate the
file. file. Automatically triggers :load functions if the file found is a .pbc. If
it is a .pir or a .pasm, the file is compiled first and the :init subs are
triggered instead. Nothing is returned.


=item B<load_bytecode<(out PMC, in STR) =item B<load_bytecode>(out PMC, in STR)


Load Parrot bytecode from file $2, searching the library path to locate the
file. Returns a new PackfileView in $1. Does not perform any automatic
initialization. Use the PackfileView PMC interface to introspect and perform
actions on it.


=cut =cut


Expand Down

0 comments on commit 5f99543

Please sign in to comment.