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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "incls/_precompiled.incl" 26 #include "incls/_output.cpp.incl" 27 28 extern uint size_java_to_interp(); 29 extern uint reloc_java_to_interp(); 30 extern uint size_exception_handler(); 31 extern uint size_deopt_handler(); 32 33 #ifndef PRODUCT 34 #define DEBUG_ARG(x) , x 35 #else 36 #define DEBUG_ARG(x) 37 #endif 38 39 extern int emit_exception_handler(CodeBuffer &cbuf); 40 extern int emit_deopt_handler(CodeBuffer &cbuf); 41 42 //------------------------------Output----------------------------------------- 43 // Convert Nodes to instruction bits and pass off to the VM 44 void Compile::Output() { 45 // RootNode goes 46 assert( _cfg->_broot->_nodes.size() == 0, "" ); | 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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "precompiled.hpp" 26 #include "asm/assembler.inline.hpp" 27 #include "code/debugInfo.hpp" 28 #include "code/debugInfoRec.hpp" 29 #include "compiler/compileBroker.hpp" 30 #include "compiler/oopMap.hpp" 31 #include "memory/allocation.inline.hpp" 32 #include "opto/callnode.hpp" 33 #include "opto/cfgnode.hpp" 34 #include "opto/locknode.hpp" 35 #include "opto/machnode.hpp" 36 #include "opto/output.hpp" 37 #include "opto/regalloc.hpp" 38 #include "opto/runtime.hpp" 39 #include "opto/subnode.hpp" 40 #include "opto/type.hpp" 41 #include "runtime/handles.inline.hpp" 42 #include "utilities/xmlstream.hpp" 43 44 extern uint size_java_to_interp(); 45 extern uint reloc_java_to_interp(); 46 extern uint size_exception_handler(); 47 extern uint size_deopt_handler(); 48 49 #ifndef PRODUCT 50 #define DEBUG_ARG(x) , x 51 #else 52 #define DEBUG_ARG(x) 53 #endif 54 55 extern int emit_exception_handler(CodeBuffer &cbuf); 56 extern int emit_deopt_handler(CodeBuffer &cbuf); 57 58 //------------------------------Output----------------------------------------- 59 // Convert Nodes to instruction bits and pass off to the VM 60 void Compile::Output() { 61 // RootNode goes 62 assert( _cfg->_broot->_nodes.size() == 0, "" ); |