Mercurial > hg > truffle
comparison src/cpu/zero/vm/cppInterpreter_zero.cpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | abec000618bf |
children | 89152779163c |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. | 3 * Copyright 2007, 2008, 2009, 2010, 2011 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 |
218 if (HAS_PENDING_EXCEPTION) | 218 if (HAS_PENDING_EXCEPTION) |
219 goto unwind_and_return; | 219 goto unwind_and_return; |
220 } | 220 } |
221 InvocationCounter *counter = mcs->invocation_counter(); | 221 InvocationCounter *counter = mcs->invocation_counter(); |
222 counter->increment(); | 222 counter->increment(); |
223 if (counter->reached_InvocationLimit(mcs->backedge_counter())) { | 223 if (counter->reached_InvocationLimit()) { |
224 CALL_VM_NOCHECK( | 224 CALL_VM_NOCHECK( |
225 InterpreterRuntime::frequency_counter_overflow(thread, NULL)); | 225 InterpreterRuntime::frequency_counter_overflow(thread, NULL)); |
226 if (HAS_PENDING_EXCEPTION) | 226 if (HAS_PENDING_EXCEPTION) |
227 goto unwind_and_return; | 227 goto unwind_and_return; |
228 } | 228 } |