1.1 --- a/src/cpu/sparc/vm/assembler_sparc.hpp Wed Feb 01 07:59:01 2012 -0800 1.2 +++ b/src/cpu/sparc/vm/assembler_sparc.hpp Wed Feb 01 16:57:08 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -2134,6 +2134,7 @@ 1.11 // address pseudos: make these names unlike instruction names to avoid confusion 1.12 inline intptr_t load_pc_address( Register reg, int bytes_to_skip ); 1.13 inline void load_contents(const AddressLiteral& addrlit, Register d, int offset = 0); 1.14 + inline void load_bool_contents(const AddressLiteral& addrlit, Register d, int offset = 0); 1.15 inline void load_ptr_contents(const AddressLiteral& addrlit, Register d, int offset = 0); 1.16 inline void store_contents(Register s, const AddressLiteral& addrlit, Register temp, int offset = 0); 1.17 inline void store_ptr_contents(Register s, const AddressLiteral& addrlit, Register temp, int offset = 0); 1.18 @@ -2249,7 +2250,7 @@ 1.19 // this platform we assume byte size 1.20 1.21 inline void stbool(Register d, const Address& a) { stb(d, a); } 1.22 - inline void ldbool(const Address& a, Register d) { ldsb(a, d); } 1.23 + inline void ldbool(const Address& a, Register d) { ldub(a, d); } 1.24 inline void movbool( bool boolconst, Register d) { mov( (int) boolconst, d); } 1.25 1.26 // klass oop manipulations if compressed