[macruby-changes] [2629] MacRuby/branches/llvm26/vm.cpp

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 24 16:24:21 PDT 2009


Revision: 2629
          http://trac.macosforge.org/projects/ruby/changeset/2629
Author:   lsansonetti at apple.com
Date:     2009-09-24 16:24:17 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
follow raw_fd_ostream api change

Modified Paths:
--------------
    MacRuby/branches/llvm26/vm.cpp

Modified: MacRuby/branches/llvm26/vm.cpp
===================================================================
--- MacRuby/branches/llvm26/vm.cpp	2009-09-24 21:04:52 UTC (rev 2628)
+++ MacRuby/branches/llvm26/vm.cpp	2009-09-24 23:24:17 UTC (rev 2629)
@@ -208,14 +208,12 @@
 
     bs_parser = NULL;
 
-    llvm_start_multithreaded();
+    //llvm_start_multithreaded();
 
     emp = new ExistingModuleProvider(RoxorCompiler::module);
     jmm = new RoxorJITManager;
 
     InitializeNativeTarget();
-    //LLVMInitializeX86TargetInfo();
-    //LLVMInitializeX86Target();
 
     std::string err;
     ee = ExecutionEngine::createJIT(emp, &err, jmm, CodeGenOpt::None, false);
@@ -4751,7 +4749,7 @@
 
     // Dump the bitcode.
     std::string err;
-    raw_fd_ostream out(output, err, raw_fd_ostream::F_Binary);
+    raw_fd_ostream out(output, true, true, err);
     if (!err.empty()) {
 	fprintf(stderr, "error when opening the output bitcode file: %s\n",
 		err.c_str());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090924/35be66cf/attachment.html>


More information about the macruby-changes mailing list