src/share/vm/interpreter/bytecodeInterpreter.cpp

changeset 2462
8012aa3ccede
parent 2324
6a2d73358ff7
child 2508
b92c45f2bc75
child 2563
173926398291
     1.1 --- a/src/share/vm/interpreter/bytecodeInterpreter.cpp	Wed Jan 12 13:59:18 2011 -0800
     1.2 +++ b/src/share/vm/interpreter/bytecodeInterpreter.cpp	Thu Jan 13 22:15:41 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -831,11 +831,11 @@
    1.11        // much like trying to deopt at a poll return. In that has we simply
    1.12        // get out of here
    1.13        //
    1.14 -      if ( Bytecodes::code_at(pc, METHOD) == Bytecodes::_return_register_finalizer) {
    1.15 +      if ( Bytecodes::code_at(METHOD, pc) == Bytecodes::_return_register_finalizer) {
    1.16          // this will do the right thing even if an exception is pending.
    1.17          goto handle_return;
    1.18        }
    1.19 -      UPDATE_PC(Bytecodes::length_at(pc));
    1.20 +      UPDATE_PC(Bytecodes::length_at(METHOD, pc));
    1.21        if (THREAD->has_pending_exception()) goto handle_exception;
    1.22        goto run;
    1.23      }

mercurial