[vmkit-commits] [vmkit] r69916 - /vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Apr 23 13:03:40 PDT 2009


Author: geoffray
Date: Thu Apr 23 15:03:40 2009
New Revision: 69916

URL: http://llvm.org/viewvc/llvm-project?rev=69916&view=rev
Log:
Wow, this should have never been there!


Modified:
    vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp

Modified: vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp?rev=69916&r1=69915&r2=69916&view=diff

==============================================================================
--- vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp (original)
+++ vmkit/trunk/lib/Mvm/CommonThread/ctthread.cpp Thu Apr 23 15:03:40 2009
@@ -136,13 +136,6 @@
 
 extern void sigsegvHandler(int, siginfo_t*, void*);
 
-void coucou(int* a) {
-  int * blah = (int*)alloca(16);
-  blah[0] = 3;
-  a[1] = 2;
-  coucou(blah);
-}
-
 /// internalThreadStart - The initial function called by a thread. Sets some
 /// thread specific data, registers the thread to the GC and calls the
 /// given routine of th.
@@ -166,8 +159,6 @@
   sa.sa_sigaction = sigsegvHandler;
   sigaction(SIGSEGV, &sa, NULL);
 
-  coucou((int*)alloca(16));
-
 #ifdef ISOLATE
   assert(th->MyVM && "VM not set in a thread");
   th->IsolateID = th->MyVM->IsolateID;





More information about the vmkit-commits mailing list