src/share/vm/runtime/frame.cpp

changeset 2462
8012aa3ccede
parent 2365
54f5dd2aa1d9
child 2497
3582bf76420e
     1.1 --- a/src/share/vm/runtime/frame.cpp	Wed Jan 12 13:59:18 2011 -0800
     1.2 +++ b/src/share/vm/runtime/frame.cpp	Thu Jan 13 22:15:41 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 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 @@ -930,10 +930,10 @@
    1.11    // This is used sometimes for calling into the VM, not for another
    1.12    // interpreted or compiled frame.
    1.13    if (!m->is_native()) {
    1.14 -    Bytecode_invoke *call = Bytecode_invoke_at_check(m, bci);
    1.15 -    if (call != NULL) {
    1.16 -      signature = symbolHandle(thread, call->signature());
    1.17 -      has_receiver = call->has_receiver();
    1.18 +    Bytecode_invoke call = Bytecode_invoke_check(m, bci);
    1.19 +    if (call.is_valid()) {
    1.20 +      signature = symbolHandle(thread, call.signature());
    1.21 +      has_receiver = call.has_receiver();
    1.22        if (map->include_argument_oops() &&
    1.23            interpreter_frame_expression_stack_size() > 0) {
    1.24          ResourceMark rm(thread);  // is this right ???

mercurial