amaneureka / AtomOS

A multitasking monolithic Kernel based x86 targeting Operating System written in C# from scratch aiming for high-level implementation of drivers in managed environment.
http://www.atomixos.com
BSD 3-Clause "New" or "Revised" License
1.26k stars 85 forks source link

[Compiler] Add Inline support to the methods #7

Open amaneureka opened 8 years ago

amaneureka commented 8 years ago

Compiling small method as inline function could save cpu time in fetching address and jumping to the label. So, A Inline attribute that would tell the compiler that this method needs to be compiled inline. And also add inline feature to method processing engine of compiler.