I began the work to separate out the Tachyon C primitives from the code for the D8 extensions/proxies.
As such, I created two new files, d8/tachyon-exts.cc and d8/tachyon-exts.h. I also created a d8-tachyon-exts.h header file, to be included in <V8>/src/d8.cc instead of including the cc file directly.
I updated the instructions on how to modify V8 to make this work in d8-tachyon-exts.cc. This is now committed on the repository.
Two minor issues:
1. I didn't have the profiler source, so I commented out the contents of the profiling functions for now.
2. I also created a loader.cc file for the image loader code, which will rely on our C primitives as well. I'm thinking of renaming our source/d8 folder to something like source/csrc, or something to reflect that it's a folder containing our C primitives, and not just d8 related code. Opinions?
- Maxime