src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.amd64/src/org/graalvm/compiler/lir/amd64/AMD64Call.java
changeset 59095 03fbcd06b4c0
parent 51228 087c3ba2d138
equal deleted inserted replaced
59094:5d4c3724e4c7 59095:03fbcd06b4c0
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 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.
   150 
   150 
   151         @Override
   151         @Override
   152         public boolean destroysCallerSavedRegisters() {
   152         public boolean destroysCallerSavedRegisters() {
   153             return callTarget.destroysRegisters();
   153             return callTarget.destroysRegisters();
   154         }
   154         }
       
   155 
       
   156         @Override
       
   157         public boolean needsClearUpperVectorRegisters() {
       
   158             return callTarget.needsClearUpperVectorRegisters();
       
   159         }
   155     }
   160     }
   156 
   161 
   157     @Opcode("NEAR_FOREIGN_CALL")
   162     @Opcode("NEAR_FOREIGN_CALL")
   158     public static final class DirectNearForeignCallOp extends ForeignCallOp {
   163     public static final class DirectNearForeignCallOp extends ForeignCallOp {
   159         public static final LIRInstructionClass<DirectNearForeignCallOp> TYPE = LIRInstructionClass.create(DirectNearForeignCallOp.class);
   164         public static final LIRInstructionClass<DirectNearForeignCallOp> TYPE = LIRInstructionClass.create(DirectNearForeignCallOp.class);