hotspot/src/cpu/x86/vm/interpreterRT_x86_32.cpp
changeset 46727 6e4a84748e2c
parent 27471 6e56277909f1
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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.
   122     *_to++ = (*(intptr_t*)from_addr == 0) ? NULL_WORD : from_addr;
   122     *_to++ = (*(intptr_t*)from_addr == 0) ? NULL_WORD : from_addr;
   123     _from -= Interpreter::stackElementSize;
   123     _from -= Interpreter::stackElementSize;
   124    }
   124    }
   125 
   125 
   126  public:
   126  public:
   127   SlowSignatureHandler(methodHandle method, address from, intptr_t* to) :
   127   SlowSignatureHandler(const methodHandle& method, address from, intptr_t* to) :
   128     NativeSignatureIterator(method) {
   128     NativeSignatureIterator(method) {
   129     _from = from;
   129     _from = from;
   130     _to   = to + (is_static() ? 2 : 1);
   130     _to   = to + (is_static() ? 2 : 1);
   131   }
   131   }
   132 };
   132 };