[llvm-commits] [hlvm] r38161 - /hlvm/trunk/tools/hlvm/hlvm.cpp
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:00:35 PDT 2007
Author: reid
Date: Sat Jul 7 19:00:35 2007
New Revision: 38161
URL: http://llvm.org/viewvc/llvm-project?rev=38161&view=rev
Log:
Add some explanation about why this "main" is so short.
Modified:
hlvm/trunk/tools/hlvm/hlvm.cpp
Modified: hlvm/trunk/tools/hlvm/hlvm.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/tools/hlvm/hlvm.cpp?rev=38161&r1=38160&r2=38161&view=diff
==============================================================================
--- hlvm/trunk/tools/hlvm/hlvm.cpp (original)
+++ hlvm/trunk/tools/hlvm/hlvm.cpp Sat Jul 7 19:00:35 2007
@@ -27,8 +27,12 @@
/// @brief Implements the main program for the HLVM Virtual Machine
//===----------------------------------------------------------------------===//
+#include <iostream>
#include <hlvm/Runtime/Main.h>
+/// Yup, the HLVM virtual machine is just a one line program. We do this so that
+/// The runtime library is completely self-contained and can be invoked from
+/// within a larger context.
int main(int argc, char**argv)
{
return hlvm_runtime_main(argc,argv);
More information about the llvm-commits
mailing list