equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2010, 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. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 # include "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 # include "incls/_relocInfo_x86.cpp.incl" |
26 #include "asm/assembler.inline.hpp" |
|
27 #include "assembler_x86.inline.hpp" |
|
28 #include "code/relocInfo.hpp" |
|
29 #include "nativeInst_x86.hpp" |
|
30 #include "oops/oop.inline.hpp" |
|
31 #include "runtime/safepoint.hpp" |
27 |
32 |
28 |
33 |
29 void Relocation::pd_set_data_value(address x, intptr_t o) { |
34 void Relocation::pd_set_data_value(address x, intptr_t o) { |
30 #ifdef AMD64 |
35 #ifdef AMD64 |
31 x += o; |
36 x += o; |