src/cpu/x86/vm/c1_LinearScan_x86.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2008, 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) 2005, 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,29 **** --- 20,32 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef CPU_X86_VM_C1_LINEARSCAN_X86_HPP + #define CPU_X86_VM_C1_LINEARSCAN_X86_HPP + inline bool LinearScan::is_processed_reg_num(int reg_num) { #ifndef _LP64 // rsp and rbp (numbers 6 ancd 7) are ignored assert(FrameMap::rsp_opr->cpu_regnr() == 6, "wrong assumption below"); assert(FrameMap::rbp_opr->cpu_regnr() == 7, "wrong assumption below");
*** 183,187 **** --- 186,192 ---- LIR_Opr to_fpu_stack(LIR_Opr opr); // used by LinearScan for creation of debug information FpuStackAllocator(Compilation* compilation, LinearScan* allocator); void allocate(); }; + + #endif // CPU_X86_VM_C1_LINEARSCAN_X86_HPP