src/share/vm/opto/machnode.cpp

changeset 5784
190899198332
parent 5111
70120f47d403
child 6478
044b28168e20
     1.1 --- a/src/share/vm/opto/machnode.cpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/opto/machnode.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 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 @@ -341,7 +341,7 @@
    1.11        return TypePtr::BOTTOM;
    1.12      }
    1.13      // %%% make offset be intptr_t
    1.14 -    assert(!Universe::heap()->is_in_reserved((oop)offset), "must be a raw ptr");
    1.15 +    assert(!Universe::heap()->is_in_reserved(cast_to_oop(offset)), "must be a raw ptr");
    1.16      return TypeRawPtr::BOTTOM;
    1.17    }
    1.18  

mercurial