Mercurial > hg > graal-compiler
comparison src/cpu/zero/vm/bytes_zero.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | f08d439fab8c |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009 Red Hat, Inc. | 3 * Copyright 2007, 2008, 2009 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * | 5 * |
6 * This code is free software; you can redistribute it and/or modify it | 6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as | 7 * under the terms of the GNU General Public License version 2 only, as |
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * or visit www.oracle.com if you need additional information or have any | 21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. | 22 * questions. |
23 * | 23 * |
24 */ | 24 */ |
25 | |
26 #ifndef CPU_ZERO_VM_BYTES_ZERO_HPP | |
27 #define CPU_ZERO_VM_BYTES_ZERO_HPP | |
28 | |
29 #include "memory/allocation.hpp" | |
25 | 30 |
26 typedef union unaligned { | 31 typedef union unaligned { |
27 u4 u; | 32 u4 u; |
28 u2 us; | 33 u2 us; |
29 u8 ul; | 34 u8 ul; |
158 }; | 163 }; |
159 | 164 |
160 #ifdef VM_LITTLE_ENDIAN | 165 #ifdef VM_LITTLE_ENDIAN |
161 // The following header contains the implementations of swap_u2, | 166 // The following header contains the implementations of swap_u2, |
162 // swap_u4, and swap_u8 | 167 // swap_u4, and swap_u8 |
163 #include "incls/_bytes_pd.inline.hpp.incl" | 168 #ifdef TARGET_OS_ARCH_linux_zero |
169 # include "bytes_linux_zero.inline.hpp" | |
170 #endif | |
171 | |
164 #endif // VM_LITTLE_ENDIAN | 172 #endif // VM_LITTLE_ENDIAN |
173 | |
174 #endif // CPU_ZERO_VM_BYTES_ZERO_HPP |