hotspot/src/share/vm/c1/c1_LIR.hpp
changeset 38031 e0b822facc03
parent 38017 55047d16f141
child 40071 53e12df44b7b
equal deleted inserted replaced
38030:93f24e7b3c43 38031:e0b822facc03
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2016, 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.
    57 
    57 
    58 
    58 
    59 typedef LIR_OprDesc* LIR_Opr;
    59 typedef LIR_OprDesc* LIR_Opr;
    60 typedef int          RegNr;
    60 typedef int          RegNr;
    61 
    61 
    62 define_array(LIR_OprArray, LIR_Opr)
    62 typedef GrowableArray<LIR_Opr> LIR_OprList;
    63 define_stack(LIR_OprList, LIR_OprArray)
    63 typedef GrowableArray<LIR_Op*> LIR_OpArray;
    64 
    64 typedef GrowableArray<LIR_Op*> LIR_OpList;
    65 define_array(LIR_OprRefArray, LIR_Opr*)
       
    66 define_stack(LIR_OprRefList, LIR_OprRefArray)
       
    67 
       
    68 define_array(CodeEmitInfoArray, CodeEmitInfo*)
       
    69 define_stack(CodeEmitInfoList, CodeEmitInfoArray)
       
    70 
       
    71 define_array(LIR_OpArray, LIR_Op*)
       
    72 define_stack(LIR_OpList, LIR_OpArray)
       
    73 
    65 
    74 // define LIR_OprPtr early so LIR_OprDesc can refer to it
    66 // define LIR_OprPtr early so LIR_OprDesc can refer to it
    75 class LIR_OprPtr: public CompilationResourceObj {
    67 class LIR_OprPtr: public CompilationResourceObj {
    76  public:
    68  public:
    77   bool is_oop_pointer() const                    { return (type() == T_OBJECT); }
    69   bool is_oop_pointer() const                    { return (type() == T_OBJECT); }