comparison src/share/vm/opto/lcm.cpp @ 1748:3e8fbc61cee8

6978355: renaming for 6961697 Summary: This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
author twisti
date Wed, 25 Aug 2010 05:27:54 -0700
parents 6c9cc03d8726
children f95d63e2154a
comparison
equal deleted inserted replaced
1747:53dbe853fb3a 1748:3e8fbc61cee8
1 /* 1 /*
2 * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
70 { 70 {
71 bool found_trap = false; 71 bool found_trap = false;
72 for (uint i1 = 0; i1 < null_block->_nodes.size(); i1++) { 72 for (uint i1 = 0; i1 < null_block->_nodes.size(); i1++) {
73 Node* nn = null_block->_nodes[i1]; 73 Node* nn = null_block->_nodes[i1];
74 if (nn->is_MachCall() && 74 if (nn->is_MachCall() &&
75 nn->as_MachCall()->entry_point() == 75 nn->as_MachCall()->entry_point() == SharedRuntime::uncommon_trap_blob()->entry_point()) {
76 SharedRuntime::uncommon_trap_blob()->instructions_begin()) {
77 const Type* trtype = nn->in(TypeFunc::Parms)->bottom_type(); 76 const Type* trtype = nn->in(TypeFunc::Parms)->bottom_type();
78 if (trtype->isa_int() && trtype->is_int()->is_con()) { 77 if (trtype->isa_int() && trtype->is_int()->is_con()) {
79 jint tr_con = trtype->is_int()->get_con(); 78 jint tr_con = trtype->is_int()->get_con();
80 Deoptimization::DeoptReason reason = Deoptimization::trap_request_reason(tr_con); 79 Deoptimization::DeoptReason reason = Deoptimization::trap_request_reason(tr_con);
81 Deoptimization::DeoptAction action = Deoptimization::trap_request_action(tr_con); 80 Deoptimization::DeoptAction action = Deoptimization::trap_request_action(tr_con);