hotspot/src/cpu/x86/vm/frame_x86.hpp
author roland
Tue, 09 Oct 2012 10:11:38 +0200
changeset 13969 d2a189b83b87
parent 13728 882756847a04
child 15937 fd3d2d0175f9
permissions -rw-r--r--
7054512: Compress class pointers after perm gen removal Summary: support of compress class pointers in the compilers. Reviewed-by: kvn, twisti
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
11486
cdc636532368 7120448: Fix FP values for compiled frames in frame::describe
bdelsart
parents: 9630
diff changeset
     2
 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 *
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4752
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4752
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4752
diff changeset
    21
 * questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
 */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    25
#ifndef CPU_X86_VM_FRAME_X86_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    26
#define CPU_X86_VM_FRAME_X86_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    27
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    28
#include "runtime/synchronizer.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    29
#include "utilities/top.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    30
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
// A frame represents a physical stack frame (an activation).  Frames can be
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
// C or Java frames, and the Java frames can be interpreted or compiled.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
// In contrast, vframes represent source-level activations, so that one physical frame
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
// can correspond to multiple source level frames because of inlining.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
// A frame is comprised of {pc, fp, sp}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
// ------------------------------ Asm interpreter ----------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
// Layout of asm interpreter frame:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
//    [expression stack      ] * <- sp
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
//    [monitors              ]   \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
//     ...                        | monitor block size
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
//    [monitors              ]   /
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
//    [monitor block size    ]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
//    [byte code index/pointr]                   = bcx()                bcx_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
//    [pointer to locals     ]                   = locals()             locals_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
//    [constant pool cache   ]                   = cache()              cache_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
//    [methodData            ]                   = mdp()                mdx_offset
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 11486
diff changeset
    47
//    [Method*               ]                   = method()             method_offset
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
//    [last sp               ]                   = last_sp()            last_sp_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
//    [old stack pointer     ]                     (sender_sp)          sender_sp_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
//    [old frame pointer     ]   <- fp           = link()
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
//    [return pc             ]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
//    [oop temp              ]                     (only for native calls)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
//    [locals and parameters ]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
//                               <- sender sp
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
// ------------------------------ Asm interpreter ----------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
// ------------------------------ C++ interpreter ----------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
// Layout of C++ interpreter frame: (While executing in BytecodeInterpreter::run)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
//                             <- SP (current esp/rsp)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
//    [local variables         ] BytecodeInterpreter::run local variables
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
//    ...                        BytecodeInterpreter::run local variables
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
//    [local variables         ] BytecodeInterpreter::run local variables
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
//    [old frame pointer       ]   fp [ BytecodeInterpreter::run's ebp/rbp ]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
//    [return pc               ]  (return to frame manager)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
//    [interpreter_state*      ]  (arg to BytecodeInterpreter::run)   --------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
//    [expression stack        ] <- last_Java_sp                           |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
//    [...                     ] * <- interpreter_state.stack              |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
//    [expression stack        ] * <- interpreter_state.stack_base         |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
//    [monitors                ]   \                                       |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
//     ...                          | monitor block size                   |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
//    [monitors                ]   / <- interpreter_state.monitor_base     |
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
//    [struct interpretState   ] <-----------------------------------------|
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
//    [return pc               ] (return to callee of frame manager [1]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
//    [locals and parameters   ]
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
//                               <- sender sp
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
// [1] When the c++ interpreter calls a new method it returns to the frame
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
//     manager which allocates a new frame on the stack. In that case there
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
//     is no real callee of this newly allocated frame. The frame manager is
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
//     aware of the  additional frame(s) and will pop them as nested calls
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
//     complete. Howevers tTo make it look good in the debugger the frame
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
//     manager actually installs a dummy pc pointing to RecursiveInterpreterActivation
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
//     with a fake interpreter_state* parameter to make it easy to debug
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
//     nested calls.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
// Note that contrary to the layout for the assembly interpreter the
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
// expression stack allocated for the C++ interpreter is full sized.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
// However this is not as bad as it seems as the interpreter frame_manager
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
// will truncate the unused space on succesive method calls.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
// ------------------------------ C++ interpreter ----------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
  enum {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
    pc_return_offset                                 =  0,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
    // All frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
    link_offset                                      =  0,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
    return_addr_offset                               =  1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
    // non-interpreter frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
    sender_sp_offset                                 =  2,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
#ifndef CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
    // Interpreter frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
    interpreter_frame_result_handler_offset          =  3, // for native calls only
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
    interpreter_frame_oop_temp_offset                =  2, // for native calls only
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
    interpreter_frame_sender_sp_offset               = -1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
    // outgoing sp before a call to an invoked method
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
    interpreter_frame_last_sp_offset                 = interpreter_frame_sender_sp_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
    interpreter_frame_method_offset                  = interpreter_frame_last_sp_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
    interpreter_frame_mdx_offset                     = interpreter_frame_method_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
    interpreter_frame_cache_offset                   = interpreter_frame_mdx_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
    interpreter_frame_locals_offset                  = interpreter_frame_cache_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
    interpreter_frame_bcx_offset                     = interpreter_frame_locals_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
    interpreter_frame_initial_sp_offset              = interpreter_frame_bcx_offset - 1,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
    interpreter_frame_monitor_block_top_offset       = interpreter_frame_initial_sp_offset,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
    interpreter_frame_monitor_block_bottom_offset    = interpreter_frame_initial_sp_offset,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
#endif // CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
    // Entry frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
#ifdef AMD64
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
#ifdef _WIN64
8874
b2030880129c 6741940: Nonvolatile XMM registers not preserved across JNI calls
iveresov
parents: 7397
diff changeset
   128
    entry_frame_after_call_words                     =  28,
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
    entry_frame_call_wrapper_offset                  =  2,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
    arg_reg_save_area_bytes                          = 32, // Register argument save area
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
#else
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
    entry_frame_after_call_words                     = 13,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
    entry_frame_call_wrapper_offset                  = -6,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
    arg_reg_save_area_bytes                          =  0,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
#endif // _WIN64
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
#else
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
    entry_frame_call_wrapper_offset                  =  2,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
#endif // AMD64
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
    // Native frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
    native_frame_initial_param_offset                =  2
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
  };
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
  intptr_t ptr_at(int offset) const {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
    return *ptr_at_addr(offset);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
  void ptr_at_put(int offset, intptr_t value) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
    *ptr_at_addr(offset) = value;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
 private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
  // an additional field beyond _sp and _pc:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
  intptr_t*   _fp; // frame pointer
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
  // The interpreter and adapters will extend the frame of the caller.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
  // Since oopMaps are based on the sp of the caller before extension
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
  // we need to know that value. However in order to compute the address
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
  // of the return address we need the real "raw" sp. Since sparc already
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
  // uses sp() to mean "raw" sp and unextended_sp() to mean the caller's
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
  // original sp we use that convention.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
  intptr_t*     _unextended_sp;
9630
d6419e4395e3 6939861: JVM should handle more conversion operations
never
parents: 8874
diff changeset
   167
  void adjust_unextended_sp();
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
  intptr_t* ptr_at_addr(int offset) const {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
    return (intptr_t*) addr_at(offset);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
4752
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   173
#if ASSERT
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   174
  // Used in frame::sender_for_{interpreter,compiled}_frame
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   175
  static void verify_deopt_original_pc(   nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   176
  static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   177
    verify_deopt_original_pc(nm, unextended_sp, true);
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   178
  }
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   179
#endif
67a506670cd0 6921352: JSR 292 needs its own deopt handler
twisti
parents: 1
diff changeset
   180
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
  // Constructors
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
  frame(intptr_t* sp, intptr_t* fp, address pc);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
  frame(intptr_t* sp, intptr_t* unextended_sp, intptr_t* fp, address pc);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
  frame(intptr_t* sp, intptr_t* fp);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
  // accessors for the instance variables
11486
cdc636532368 7120448: Fix FP values for compiled frames in frame::describe
bdelsart
parents: 9630
diff changeset
   191
  // Note: not necessarily the real 'frame pointer' (see real_fp)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
  intptr_t*   fp() const { return _fp; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
  inline address* sender_pc_addr() const;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
  // return address of param, zero origin index.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
  inline address* native_param_addr(int idx) const;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
  // expression stack tos if we are nested in a java call
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
  intptr_t* interpreter_frame_last_sp() const;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
9630
d6419e4395e3 6939861: JVM should handle more conversion operations
never
parents: 8874
diff changeset
   202
  // helper to update a map with callee-saved RBP
d6419e4395e3 6939861: JVM should handle more conversion operations
never
parents: 8874
diff changeset
   203
  static void update_map_with_saved_link(RegisterMap* map, intptr_t** link_addr);
d6419e4395e3 6939861: JVM should handle more conversion operations
never
parents: 8874
diff changeset
   204
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
#ifndef CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
  // deoptimization support
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
  void interpreter_frame_set_last_sp(intptr_t* sp);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
#endif // CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
#ifdef CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
  inline interpreterState get_interpreterState() const;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
#endif // CC_INTERP
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   213
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   214
#endif // CPU_X86_VM_FRAME_X86_HPP