hotspot/src/cpu/sparc/vm/abstractInterpreter_sparc.cpp
changeset 46381 020219e46c86
parent 38074 8475fdc6dcc3
child 46461 7155d5ff2d07
equal deleted inserted replaced
46380:4a51438196cf 46381:020219e46c86
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   268     assert(locals < caller->sp() || locals >= (caller->sp() + 16), "locals in save area");
   268     assert(locals < caller->sp() || locals >= (caller->sp() + 16), "locals in save area");
   269     assert(locals < caller->fp() || locals > (caller->fp() + 16), "locals in save area");
   269     assert(locals < caller->fp() || locals > (caller->fp() + 16), "locals in save area");
   270     assert(locals < interpreter_frame->sp() || locals > (interpreter_frame->sp() + 16), "locals in save area");
   270     assert(locals < interpreter_frame->sp() || locals > (interpreter_frame->sp() + 16), "locals in save area");
   271     assert(locals < interpreter_frame->fp() || locals >= (interpreter_frame->fp() + 16), "locals in save area");
   271     assert(locals < interpreter_frame->fp() || locals >= (interpreter_frame->fp() + 16), "locals in save area");
   272   }
   272   }
   273 #ifdef _LP64
       
   274   assert(*interpreter_frame->register_addr(I5_savedSP) & 1, "must be odd");
   273   assert(*interpreter_frame->register_addr(I5_savedSP) & 1, "must be odd");
   275 #endif
       
   276 
   274 
   277   *interpreter_frame->register_addr(Lmethod)     = (intptr_t) method;
   275   *interpreter_frame->register_addr(Lmethod)     = (intptr_t) method;
   278   *interpreter_frame->register_addr(Llocals)     = (intptr_t) locals;
   276   *interpreter_frame->register_addr(Llocals)     = (intptr_t) locals;
   279   *interpreter_frame->register_addr(Lmonitors)   = (intptr_t) monitors;
   277   *interpreter_frame->register_addr(Lmonitors)   = (intptr_t) monitors;
   280   *interpreter_frame->register_addr(Lesp)        = (intptr_t) esp;
   278   *interpreter_frame->register_addr(Lesp)        = (intptr_t) esp;