src/share/vm/code/compressedStream.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_CODE_COMPRESSEDSTREAM_HPP + #define SHARE_VM_CODE_COMPRESSEDSTREAM_HPP + + #include "memory/allocation.hpp" + // Simple interface for filing out and filing in basic types // Used for writing out and reading in debugging information. class CompressedStream : public ResourceObj { friend class VMStructs;
*** 116,120 **** --- 121,127 ---- void write_signed_int(jint value); // write_int(encode_sign(value)) void write_float(jfloat value); // write_int(reverse_int(jint_cast(v))) void write_double(jdouble value); // write_int(reverse_int(<low,high>)) void write_long(jlong value); // write_signed_int(<low,high>) }; + + #endif // SHARE_VM_CODE_COMPRESSEDSTREAM_HPP