Mercurial > hg > graal-compiler
comparison src/cpu/zero/vm/stack_zero.cpp @ 3843:d17bd0b18663
7066143: JSR 292: Zero support after regressions from 7009923 and 7009309
Reviewed-by: jrose, twisti
Contributed-by: Xerxes Ranby <xerxes@zafena.se>
author | twisti |
---|---|
date | Thu, 28 Jul 2011 02:14:44 -0700 |
parents | f95d63e2154a |
children |
comparison
equal
deleted
inserted
replaced
3842:c7b60b601eb4 | 3843: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 } |