src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.aarch64/src/org/graalvm/compiler/hotspot/aarch64/AArch64HotSpotLoweringProvider.java
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 52910 583fd71c47d6
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2019, 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.
    23 
    23 
    24 
    24 
    25 
    25 
    26 package org.graalvm.compiler.hotspot.aarch64;
    26 package org.graalvm.compiler.hotspot.aarch64;
    27 
    27 
       
    28 import org.graalvm.compiler.core.aarch64.AArch64LoweringProviderMixin;
    28 import org.graalvm.compiler.core.common.spi.ForeignCallsProvider;
    29 import org.graalvm.compiler.core.common.spi.ForeignCallsProvider;
    29 import org.graalvm.compiler.debug.DebugHandlersFactory;
    30 import org.graalvm.compiler.debug.DebugHandlersFactory;
    30 import org.graalvm.compiler.graph.Node;
    31 import org.graalvm.compiler.graph.Node;
    31 import org.graalvm.compiler.hotspot.GraalHotSpotVMConfig;
    32 import org.graalvm.compiler.hotspot.GraalHotSpotVMConfig;
    32 import org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider;
    33 import org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider;
    43 
    44 
    44 import jdk.vm.ci.code.TargetDescription;
    45 import jdk.vm.ci.code.TargetDescription;
    45 import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider;
    46 import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider;
    46 import jdk.vm.ci.meta.MetaAccessProvider;
    47 import jdk.vm.ci.meta.MetaAccessProvider;
    47 
    48 
    48 public class AArch64HotSpotLoweringProvider extends DefaultHotSpotLoweringProvider {
    49 public class AArch64HotSpotLoweringProvider extends DefaultHotSpotLoweringProvider implements AArch64LoweringProviderMixin {
    49 
    50 
    50     private AArch64IntegerArithmeticSnippets integerArithmeticSnippets;
    51     private AArch64IntegerArithmeticSnippets integerArithmeticSnippets;
    51     private AArch64FloatArithmeticSnippets floatArithmeticSnippets;
    52     private AArch64FloatArithmeticSnippets floatArithmeticSnippets;
    52 
    53 
    53     public AArch64HotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,
    54     public AArch64HotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,