1 /*
   2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 module jdk.internal.vm.compiler {
  27     requires java.instrument;
  28     requires java.management;
  29     requires jdk.internal.vm.ci;
  30     requires jdk.management;
  31     requires jdk.unsupported;   // sun.misc.Unsafe is used
  32 
  33     uses org.graalvm.compiler.code.DisassemblerProvider;
  34     uses org.graalvm.compiler.core.match.MatchStatementSet;
  35     uses org.graalvm.compiler.debug.TTYStreamProvider;
  36     uses org.graalvm.compiler.hotspot.CompilerConfigurationFactory;
  37     uses org.graalvm.compiler.hotspot.HotSpotBackendFactory;
  38     uses org.graalvm.compiler.hotspot.HotSpotCodeCacheListener;
  39     uses org.graalvm.compiler.options.OptionValuesAccess;
  40     uses org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory;
  41 
  42     exports org.graalvm.compiler.api.directives         to jdk.aot;
  43     exports org.graalvm.compiler.api.runtime            to jdk.aot;
  44     exports org.graalvm.compiler.api.replacements       to jdk.aot;
  45     exports org.graalvm.compiler.asm.amd64              to jdk.aot;
  46     exports org.graalvm.compiler.bytecode               to jdk.aot;
  47     exports org.graalvm.compiler.code                   to jdk.aot;
  48     exports org.graalvm.compiler.core                   to jdk.aot;
  49     exports org.graalvm.compiler.core.common            to jdk.aot;
  50     exports org.graalvm.compiler.core.target            to jdk.aot;
  51     exports org.graalvm.compiler.debug                  to jdk.aot;
  52     exports org.graalvm.compiler.graph                  to jdk.aot;
  53     exports org.graalvm.compiler.hotspot                to jdk.aot;
  54     exports org.graalvm.compiler.hotspot.meta           to jdk.aot;
  55     exports org.graalvm.compiler.hotspot.replacements   to jdk.aot;
  56     exports org.graalvm.compiler.hotspot.stubs          to jdk.aot;
  57     exports org.graalvm.compiler.hotspot.word           to jdk.aot;
  58     exports org.graalvm.compiler.java                   to jdk.aot;
  59     exports org.graalvm.compiler.lir.asm                to jdk.aot;
  60     exports org.graalvm.compiler.lir.phases             to jdk.aot;
  61     exports org.graalvm.compiler.nodes                  to jdk.aot;
  62     exports org.graalvm.compiler.nodes.graphbuilderconf to jdk.aot;
  63     exports org.graalvm.compiler.options                to jdk.aot;
  64     exports org.graalvm.compiler.phases                 to jdk.aot;
  65     exports org.graalvm.compiler.phases.tiers           to jdk.aot;
  66     exports org.graalvm.compiler.printer                to jdk.aot;
  67     exports org.graalvm.compiler.runtime                to jdk.aot;
  68     exports org.graalvm.compiler.replacements           to jdk.aot;
  69     exports org.graalvm.compiler.word                   to jdk.aot;
  70     exports org.graalvm.word                            to jdk.aot;
  71 }