Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/macroAssembler_sparc.hpp @ 11004:87a6f2df28e2
8002160: Compilation issue with adlc using latest SunStudio compilers
Summary: modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp
Reviewed-by: kvn, jrose
author | drchase |
---|---|
date | Mon, 17 Jun 2013 12:35:53 -0400 |
parents | 46c544b8fbfc |
children | 740e263c80c6 |
comparison
equal
deleted
inserted
replaced
11003:ac91879aa56f | 11004:87a6f2df28e2 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2013, 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. |
961 // Note: offset is added to s2. | 961 // Note: offset is added to s2. |
962 using Assembler::sub; | 962 using Assembler::sub; |
963 inline void sub(Register s1, RegisterOrConstant s2, Register d, int offset = 0); | 963 inline void sub(Register s1, RegisterOrConstant s2, Register d, int offset = 0); |
964 | 964 |
965 using Assembler::swap; | 965 using Assembler::swap; |
966 inline void swap(Address& a, Register d, int offset = 0); | 966 inline void swap(const Address& a, Register d, int offset = 0); |
967 | 967 |
968 // address pseudos: make these names unlike instruction names to avoid confusion | 968 // address pseudos: make these names unlike instruction names to avoid confusion |
969 inline intptr_t load_pc_address( Register reg, int bytes_to_skip ); | 969 inline intptr_t load_pc_address( Register reg, int bytes_to_skip ); |
970 inline void load_contents(const AddressLiteral& addrlit, Register d, int offset = 0); | 970 inline void load_contents(const AddressLiteral& addrlit, Register d, int offset = 0); |
971 inline void load_bool_contents(const AddressLiteral& addrlit, Register d, int offset = 0); | 971 inline void load_bool_contents(const AddressLiteral& addrlit, Register d, int offset = 0); |