Mercurial > hg > truffle
comparison src/share/vm/shark/sharkNativeWrapper.cpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 1d1603768966 |
children | 2cd5e15048e6 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2009, 2010 Red Hat, Inc. | 3 * Copyright 2009, 2010 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 |
99 // For static methods, the second argument is the class | 99 // For static methods, the second argument is the class |
100 if (is_static()) { | 100 if (is_static()) { |
101 builder()->CreateStore( | 101 builder()->CreateStore( |
102 builder()->CreateInlineOop( | 102 builder()->CreateInlineOop( |
103 JNIHandles::make_local( | 103 JNIHandles::make_local( |
104 target()->method_holder()->klass_part()->java_mirror())), | 104 target()->method_holder()->java_mirror())), |
105 oop_tmp_slot()); | 105 oop_tmp_slot()); |
106 | 106 |
107 param_types.push_back(box_type); | 107 param_types.push_back(box_type); |
108 param_values.push_back(oop_tmp_slot()); | 108 param_values.push_back(oop_tmp_slot()); |
109 | 109 |