c2compiler.cpp revision 1397
415N/A * Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved. 415N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 415N/A * This code is free software; you can redistribute it and/or modify it 415N/A * under the terms of the GNU General Public License version 2 only, as 415N/A * published by the Free Software Foundation. 415N/A * This code is distributed in the hope that it will be useful, but WITHOUT 415N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 415N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 415N/A * version 2 for more details (a copy is included in the LICENSE file that 415N/A * accompanied this code). 415N/A * You should have received a copy of the GNU General Public License version 415N/A * 2 along with this work; if not, write to the Free Software Foundation, 415N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 415N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 415N/A * CA 95054 USA or visit www.sun.com if you need additional information or 415N/A#
include "incls/_precompiled.incl" 415N/A// register information defined by ADLC 415N/A return "retry without subsuming loads";
415N/A return "retry without escape analysis";
415N/A // Check assumptions used while running ADLC 415N/A // Check that runtime and architecture description agree on callee-saved-floats 415N/A // Is there a callee-saved float or double? 415N/A // This method can only be called once per C2Compiler object 415N/A // The first compiler thread that gets here will initialize the 415N/A // small amount of global state (and runtime stubs) that c2 needs. 415N/A // There is a race possible once at startup and then we're fine 415N/A // Note that this is being called from a compiler thread not the 415N/A // main startup thread. 415N/A // Mark this compiler object as ready to roll 415N/A // Attempt to compile while subsuming loads into machine instructions. 415N/A // Check result and retry if appropriate. 415N/A // Pass any other failure reason up to the ciEnv. 415N/A // Note that serious, irreversible failures are already logged 415N/A // on the ciEnv via env->record_method_not_compilable(). 415N/A // No retry; just break the loop.