src/hotspot/cpu/sparc/interpreterRT_sparc.hpp
changeset 49480 d7df2dd501ce
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
49479:5865398439d4 49480:d7df2dd501ce
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2018, 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.
    23  */
    23  */
    24 
    24 
    25 #ifndef CPU_SPARC_VM_INTERPRETERRT_SPARC_HPP
    25 #ifndef CPU_SPARC_VM_INTERPRETERRT_SPARC_HPP
    26 #define CPU_SPARC_VM_INTERPRETERRT_SPARC_HPP
    26 #define CPU_SPARC_VM_INTERPRETERRT_SPARC_HPP
    27 
    27 
    28 #include "memory/allocation.hpp"
    28 // This is included in the middle of class Interpreter.
       
    29 // Do not include files here.
       
    30 
    29 
    31 
    30 static int binary_search(int key, LookupswitchPair* array, int n);
    32 static int binary_search(int key, LookupswitchPair* array, int n);
    31 
    33 
    32 static address iload (JavaThread* thread);
    34 static address iload (JavaThread* thread);
    33 static address aload (JavaThread* thread);
    35 static address aload (JavaThread* thread);
    50   void pass_float();
    52   void pass_float();
    51   void pass_object();
    53   void pass_object();
    52 
    54 
    53  public:
    55  public:
    54   // Creation
    56   // Creation
    55   SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) {
    57   SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer);
    56     _masm = new MacroAssembler(buffer);
       
    57   }
       
    58 
    58 
    59   // Code generation
    59   // Code generation
    60   void generate( uint64_t fingerprint );
    60   void generate( uint64_t fingerprint );
    61 };
    61 };
    62 
    62