src/cpu/zero/vm/stack_zero.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright 2010 Red Hat, Inc. * 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 --- 1,7 ---- /* ! * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2010 Red Hat, Inc. * 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
*** 21,32 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "incls/_precompiled.incl" ! #include "incls/_stack_zero.cpp.incl" int ZeroStack::suggest_size(Thread *thread) const { assert(needs_setup(), "already set up"); return align_size_down(abi_stack_available(thread) / 2, wordSize); } --- 21,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "interpreter/interpreterRuntime.hpp" ! #include "stack_zero.hpp" ! #include "stack_zero.inline.hpp" int ZeroStack::suggest_size(Thread *thread) const { assert(needs_setup(), "already set up"); return align_size_down(abi_stack_available(thread) / 2, wordSize); }