Compilation of JavaC - JVM

The compilation of JavaI expressions is extended by de_ning the compilation of class _eld access, class _eld assignment, and by the compilation of calls of class methods. This extension refers to the compiling function E, see Figure above. The compilation of class _eld access and assignment follows the pattern for local variable access and assignment. For calls of class methods, _rst all arguments are pushed on the stack from left to right followed by an InvokeStatic instruction.

Likewise we extend the compiling function S to translate static initializations and return statements.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

JVM Topics