equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 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. |
59 VM vm = VM.getVM(); |
59 VM vm = VM.getVM(); |
60 if (vm.getOS().equals("solaris") && vm.getCPU().equals("sparc")) { |
60 if (vm.getOS().equals("solaris") && vm.getCPU().equals("sparc")) { |
61 value |= ZGlobals.ZAddressSpaceStart; |
61 value |= ZGlobals.ZAddressSpaceStart; |
62 } |
62 } |
63 |
63 |
64 return ZOop.to_address(value); |
64 return ZUtils.longToAddress(value); |
65 } |
65 } |
66 |
66 |
67 static Address good(Address value) { |
67 static Address good(Address value) { |
68 return address(offset(value) | ZGlobals.ZAddressGoodMask()); |
68 return address(offset(value) | ZGlobals.ZAddressGoodMask()); |
69 } |
69 } |