hotspot/src/share/vm/opto/postaloc.cpp
changeset 37248 11a660dbbb8e
parent 28723 0a36120cb225
equal deleted inserted replaced
37247:bdbfe42632cb 37248:11a660dbbb8e
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "memory/allocation.inline.hpp"
    26 #include "memory/allocation.inline.hpp"
       
    27 #include "memory/resourceArea.hpp"
    27 #include "opto/chaitin.hpp"
    28 #include "opto/chaitin.hpp"
    28 #include "opto/machnode.hpp"
    29 #include "opto/machnode.hpp"
    29 
    30 
    30 // See if this register (or pairs, or vector) already contains the value.
    31 // See if this register (or pairs, or vector) already contains the value.
    31 static bool register_contains_value(Node* val, OptoReg::Name reg, int n_regs,
    32 static bool register_contains_value(Node* val, OptoReg::Name reg, int n_regs,