src/cpu/zero/vm/stack_zero.cpp

changeset 3041
d17bd0b18663
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
child 7599
c6affd32651a
equal deleted inserted replaced
3040:c7b60b601eb4 3041:d17bd0b18663
1 /* 1 /*
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2010 Red Hat, Inc. 3 * Copyright 2010 Red Hat, Inc.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * 5 *
6 * This code is free software; you can redistribute it and/or modify it 6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as 7 * under the terms of the GNU General Public License version 2 only, as
67 case _thread_in_Java: 67 case _thread_in_Java:
68 InterpreterRuntime::throw_StackOverflowError(thread); 68 InterpreterRuntime::throw_StackOverflowError(thread);
69 break; 69 break;
70 70
71 case _thread_in_vm: 71 case _thread_in_vm:
72 Exceptions::throw_stack_overflow_exception(thread, __FILE__, __LINE__); 72 Exceptions::throw_stack_overflow_exception(thread, __FILE__, __LINE__,
73 methodHandle());
73 break; 74 break;
74 75
75 default: 76 default:
76 ShouldNotReachHere(); 77 ShouldNotReachHere();
77 } 78 }

mercurial