You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/02/22 17:08:10 UTC

svn commit: r510566 - in /harmony/enhanced/drlvm/trunk: build/make/components/vm/gc_cc.xml vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp

Author: gshimansky
Date: Thu Feb 22 08:08:09 2007
New Revision: 510566

URL: http://svn.apache.org/viewvc?view=rev&rev=510566
Log:
Temporary changes for unimplemented functions not to crash on assert(0) to allow
a program to run.


Modified:
    harmony/enhanced/drlvm/trunk/build/make/components/vm/gc_cc.xml
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp

Modified: harmony/enhanced/drlvm/trunk/build/make/components/vm/gc_cc.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/components/vm/gc_cc.xml?view=diff&rev=510566&r1=510565&r2=510566
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/components/vm/gc_cc.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/components/vm/gc_cc.xml Thu Feb 22 08:08:09 2007
@@ -83,7 +83,7 @@
                 <syslibset libs="AdvAPI32" />
             </select>
 
-            <select os="win" cfg="debug">
+            <select os="win" cfg="debug" arch="ia32">
                 <linkerarg value="/NODEFAULTLIB:libcmtd.lib" />
                 <syslibset libs="msvcrtd" />
             </select>

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp?view=diff&rev=510566&r1=510565&r2=510566
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp Thu Feb 22 08:08:09 2007
@@ -166,16 +166,13 @@
 
 LONG NTAPI vectored_exception_handler(LPEXCEPTION_POINTERS nt_exception)
 {
-assert(0);
-return 0;
+    return EXCEPTION_CONTINUE_SEARCH;
 }
 
 void init_stack_info() {
-assert(0);
 }
 
 size_t get_available_stack_size() { 
-assert(0);
-return 0;
+    return 1000000;
 }