equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 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. |
33 #include "ci/ciStreams.hpp" |
33 #include "ci/ciStreams.hpp" |
34 #include "compiler/compileLog.hpp" |
34 #include "compiler/compileLog.hpp" |
35 |
35 |
36 class MemoryBuffer; |
36 class MemoryBuffer; |
37 |
37 |
38 class GraphBuilder VALUE_OBJ_CLASS_SPEC { |
38 class GraphBuilder { |
39 private: |
39 private: |
40 // Per-scope data. These are pushed and popped as we descend into |
40 // Per-scope data. These are pushed and popped as we descend into |
41 // inlined methods. Currently in order to generate good code in the |
41 // inlined methods. Currently in order to generate good code in the |
42 // inliner we have to attempt to inline methods directly into the |
42 // inliner we have to attempt to inline methods directly into the |
43 // basic block we are parsing; this adds complexity. |
43 // basic block we are parsing; this adds complexity. |