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