src/share/vm/opto/lcm.cpp

changeset 2103
3e8fbc61cee8
parent 2048
6c9cc03d8726
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/opto/lcm.cpp	Mon Aug 23 09:09:36 2010 -0700
     1.2 +++ b/src/share/vm/opto/lcm.cpp	Wed Aug 25 05:27:54 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 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 @@ -72,8 +72,7 @@
    1.11      for (uint i1 = 0; i1 < null_block->_nodes.size(); i1++) {
    1.12        Node* nn = null_block->_nodes[i1];
    1.13        if (nn->is_MachCall() &&
    1.14 -          nn->as_MachCall()->entry_point() ==
    1.15 -          SharedRuntime::uncommon_trap_blob()->instructions_begin()) {
    1.16 +          nn->as_MachCall()->entry_point() == SharedRuntime::uncommon_trap_blob()->entry_point()) {
    1.17          const Type* trtype = nn->in(TypeFunc::Parms)->bottom_type();
    1.18          if (trtype->isa_int() && trtype->is_int()->is_con()) {
    1.19            jint tr_con = trtype->is_int()->get_con();

mercurial