NAME ^

bcg_info.pmc Byte Code Generator PMC

DESCRIPTION ^

Byte Code Generator PMC and methods associated with it.

Methods ^

List of methods/operations defined over the PMC.

void init ()

This method creates a BCG_info PMC instance

void destroy ()

This method destroys BCG_info PMC instance.

void startCodeGen()

This method starts the code generation phase.

void endCodeGen()

This method concludes the code generation phase.

void startSub(STRING *subName, STRING *pragma)

This method is called to generate byte code for start subroutine.

void endSub()

This method is called to generate bytecode for end subroutine

void startCall(STRING *subName)

This method generates code for a subroutine call.

void endCall()

This method generated code for ending a subroutine call.

void startOp(STRING *op)

This method generates code for an opertion.

void startOp(STRING *op)

This method marks the end of an operation.

void val(STRING *name, STRING *type)

This method generates bytecode for a variable.

void var(STRING *value, STRING *type)

This method generates bytecode for a constant.

void label(STRING *label)

This method generates bytecode for label.

LICENSE ^

Copyright (C) 2006-2008, The Perl Foundation.

This is free software; you may redistribute it and/or modify it under the same terms as Parrot.

AUTHOR ^

Vishal Soni <vishalrsoni@gmail.com>


parrot