Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 7312:46f945023189
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 21 Dec 2012 15:54:59 +0100 |
parents | 79a7b761755c e960cda050d7 |
children | f4f3d63d35e6 |
comparison
equal
deleted
inserted
replaced
7311:3fda7128589e | 7312:46f945023189 |
---|---|
848 HandleMark hm; | 848 HandleMark hm; |
849 | 849 |
850 assert(metaspace_method != 0, "just checking"); | 850 assert(metaspace_method != 0, "just checking"); |
851 methodHandle mh = asMethod(metaspace_method); | 851 methodHandle mh = asMethod(metaspace_method); |
852 Symbol* signature = mh->signature(); | 852 Symbol* signature = mh->signature(); |
853 JavaCallArguments jca; | 853 JavaCallArguments jca(mh->size_of_parameters()); |
854 | 854 |
855 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); | 855 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); |
856 JavaValue result(jap.get_ret_type()); | 856 JavaValue result(jap.get_ret_type()); |
857 | 857 |
858 nmethod* nm = (nmethod*) (address) metaspace_nmethod; | 858 nmethod* nm = (nmethod*) (address) metaspace_nmethod; |