src/share/vm/opto/gcm.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,36 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ // Portions of code courtesy of Clifford Click // Optimization - Graph Style - #include "incls/_precompiled.incl" - #include "incls/_gcm.cpp.incl" - // To avoid float value underflow #define MIN_BLOCK_FREQUENCY 1.e-35f //----------------------------schedule_node_into_block------------------------- // Insert node n into block b. Look for projections of n and make sure they --- 20,59 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #include "precompiled.hpp" + #include "libadt/vectset.hpp" + #include "memory/allocation.inline.hpp" + #include "opto/block.hpp" + #include "opto/c2compiler.hpp" + #include "opto/callnode.hpp" + #include "opto/cfgnode.hpp" + #include "opto/machnode.hpp" + #include "opto/opcodes.hpp" + #include "opto/phaseX.hpp" + #include "opto/rootnode.hpp" + #include "opto/runtime.hpp" + #include "runtime/deoptimization.hpp" + #ifdef TARGET_ARCH_MODEL_x86_32 + # include "adfiles/ad_x86_32.hpp" + #endif + #ifdef TARGET_ARCH_MODEL_x86_64 + # include "adfiles/ad_x86_64.hpp" + #endif + #ifdef TARGET_ARCH_MODEL_sparc + # include "adfiles/ad_sparc.hpp" + #endif + #ifdef TARGET_ARCH_MODEL_zero + # include "adfiles/ad_zero.hpp" + #endif + // Portions of code courtesy of Clifford Click // Optimization - Graph Style // To avoid float value underflow #define MIN_BLOCK_FREQUENCY 1.e-35f //----------------------------schedule_node_into_block------------------------- // Insert node n into block b. Look for projections of n and make sure they