Advertisement

AOT Compiler kicked off

Started by July 21, 2012 04:03 PM
11 comments, last by WitchLord 12 years, 5 months ago
So are regular script class methods implicitly virtual?


To answer myself yes, they are. Although marking both the class and the method as final still generated the CALLINTF opcode. Is the virtual table lookup still needed for final script functions?
Currently all calls to class methods are done with CALLINTF, however in a future version I'll probably optimize this to use CALL directly where the true class method is known at compile time (e.g. for final script classes).

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
I've added a link to this on the wiki.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement