equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 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. |
49 #include "opto/vectornode.hpp" |
49 #include "opto/vectornode.hpp" |
50 #include "utilities/macros.hpp" |
50 #include "utilities/macros.hpp" |
51 #if INCLUDE_ZGC |
51 #if INCLUDE_ZGC |
52 #include "gc/z/c2/zBarrierSetC2.hpp" |
52 #include "gc/z/c2/zBarrierSetC2.hpp" |
53 #endif |
53 #endif |
|
54 #if INCLUDE_SHENANDOAHGC |
|
55 #include "gc/shenandoah/c2/shenandoahBarrierSetC2.hpp" |
|
56 #endif |
54 |
57 |
55 // ---------------------------------------------------------------------------- |
58 // ---------------------------------------------------------------------------- |
56 // Build a table of virtual functions to map from Nodes to dense integer |
59 // Build a table of virtual functions to map from Nodes to dense integer |
57 // opcode names. |
60 // opcode names. |
58 int Node::Opcode() const { return Op_Node; } |
61 int Node::Opcode() const { return Op_Node; } |