src/share/vm/compiler/oopMap.cpp

changeset 5784
190899198332
parent 4478
a7114d3d712e
child 6680
78bbf4d43a14
     1.1 --- a/src/share/vm/compiler/oopMap.cpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/compiler/oopMap.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2013, 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 @@ -628,7 +628,7 @@
    1.11  
    1.12  
    1.13  // Returns value of location as an int
    1.14 -intptr_t value_of_loc(oop *pointer) { return (intptr_t)(*pointer); }
    1.15 +intptr_t value_of_loc(oop *pointer) { return cast_from_oop<intptr_t>((*pointer)); }
    1.16  
    1.17  
    1.18  void DerivedPointerTable::add(oop *derived_loc, oop *base_loc) {

mercurial