src/cpu/sparc/vm/stubGenerator_sparc.cpp

changeset 3372
dca455dea3a7
parent 3157
a92cdbac8b9e
child 3400
22cee0ee8927
     1.1 --- a/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Fri Dec 16 17:33:08 2011 -0500
     1.2 +++ b/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Tue Dec 20 12:33:05 2011 +0100
     1.3 @@ -3414,6 +3414,9 @@
     1.4        generate_throw_exception("WrongMethodTypeException throw_exception",
     1.5                                 CAST_FROM_FN_PTR(address, SharedRuntime::throw_WrongMethodTypeException),
     1.6                                 G5_method_type, G3_method_handle);
     1.7 +
     1.8 +    // Build this early so it's available for the interpreter.
     1.9 +    StubRoutines::_throw_StackOverflowError_entry          = generate_throw_exception("StackOverflowError throw_exception",           CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError));
    1.10    }
    1.11  
    1.12  
    1.13 @@ -3427,7 +3430,6 @@
    1.14      StubRoutines::_throw_AbstractMethodError_entry         = generate_throw_exception("AbstractMethodError throw_exception",          CAST_FROM_FN_PTR(address, SharedRuntime::throw_AbstractMethodError));
    1.15      StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError));
    1.16      StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call));
    1.17 -    StubRoutines::_throw_StackOverflowError_entry          = generate_throw_exception("StackOverflowError throw_exception",           CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError));
    1.18  
    1.19      StubRoutines::_handler_for_unsafe_access_entry =
    1.20        generate_handler_for_unsafe_access();

mercurial