src/share/vm/code/compiledIC.cpp

changeset 1934
e9ff18c4ace7
parent 1907
c18cbe5936b8
parent 1918
1a5913bf5e19
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/code/compiledIC.cpp	Tue Jun 01 11:48:33 2010 -0700
     1.2 +++ b/src/share/vm/code/compiledIC.cpp	Wed Jun 02 22:45:42 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2010, 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 @@ -441,11 +441,11 @@
    1.11  }
    1.12  
    1.13  
    1.14 -inline static RelocIterator parse_ic(CodeBlob* code, address ic_call, oop* &_oop_addr, bool *is_optimized) {
    1.15 +inline static RelocIterator parse_ic(nmethod* nm, address ic_call, oop* &_oop_addr, bool *is_optimized) {
    1.16     address  first_oop = NULL;
    1.17     // Mergers please note: Sun SC5.x CC insists on an lvalue for a reference parameter.
    1.18 -   CodeBlob *code1 = code;
    1.19 -   return virtual_call_Relocation::parse_ic(code1, ic_call, first_oop, _oop_addr, is_optimized);
    1.20 +   nmethod* tmp_nm = nm;
    1.21 +   return virtual_call_Relocation::parse_ic(tmp_nm, ic_call, first_oop, _oop_addr, is_optimized);
    1.22  }
    1.23  
    1.24  CompiledIC::CompiledIC(NativeCall* ic_call)

mercurial