Skip to content

Latest commit

 

History

History

code-generation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Summary

  • Java Virtual Machine
    • method area
    • operand stack
    • constant pool
    • local variables
    • heap
    • Java bytecode instructions
    • class files
  • code generation techniques
    • printing strings
    • string concatenation
    • string interpolation
    • compilation by transformation
    • LLVM compiler infrastructure
  • calling conventions
    • stack frames in the JVM
    • stack frames in register-based machines
    • CDECL
    • STDCALL
    • FASTCALL

Slides

![View slides on Slideshare](Code Generation.jpg)

Further Reading

  1. Tim Lindholm, Frank Yellin, Gilad Bracha, and Alex Buckley (2013). The Java Virtual Machine Specification.

  2. Bill Venners (2000). Inside the Java 2 Virtual Machine. McGraw-Hill.

  3. Chris Lattner (2012). LLVM. In: The Architecture of Open Source Applications.

  4. Zef Hemel, Lennart C. L. Kats, Danny M. Groenewegen, and Eelco Visser (2010). Code generation by model transformation. A case study in transformation modularity. SoSym 9(3), Springer.