hotspot/src/cpu/zero/vm/stack_zero.hpp
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 35201 996db89f378e
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2008, 2009, 2010 Red Hat, Inc.
     3  * Copyright 2008, 2009, 2010 Red Hat, Inc.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
    20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * or visit www.oracle.com if you need additional information or have any
    21  * or visit www.oracle.com if you need additional information or have any
    22  * questions.
    22  * questions.
    23  *
    23  *
    24  */
    24  */
       
    25 
       
    26 #ifndef CPU_ZERO_VM_STACK_ZERO_HPP
       
    27 #define CPU_ZERO_VM_STACK_ZERO_HPP
       
    28 
       
    29 #include "utilities/sizes.hpp"
    25 
    30 
    26 class ZeroStack {
    31 class ZeroStack {
    27  private:
    32  private:
    28   intptr_t *_base; // the last available word
    33   intptr_t *_base; // the last available word
    29   intptr_t *_top;  // the word past the end of the stack
    34   intptr_t *_top;  // the word past the end of the stack
   215                         intptr_t* monitor_base,
   220                         intptr_t* monitor_base,
   216                         intptr_t* stack_base,
   221                         intptr_t* stack_base,
   217                         char*     fieldbuf,
   222                         char*     fieldbuf,
   218                         int       buflen) const;
   223                         int       buflen) const;
   219 };
   224 };
       
   225 
       
   226 #endif // CPU_ZERO_VM_STACK_ZERO_HPP