Mercurial > hg > graal-compiler
diff src/share/vm/shark/sharkTopLevelBlock.hpp @ 7195:2cd5e15048e6
8003868: fix shark for latest HotSpot and LLVM
Reviewed-by: twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Tue, 27 Nov 2012 12:48:52 -0800 |
parents | f95d63e2154a |
children |
line wrap: on
line diff
--- a/src/share/vm/shark/sharkTopLevelBlock.hpp Mon Nov 26 17:25:11 2012 -0800 +++ b/src/share/vm/shark/sharkTopLevelBlock.hpp Tue Nov 27 12:48:52 2012 -0800 @@ -290,7 +290,7 @@ int exception_action) { decache_for_VM_call(); stack()->CreateSetLastJavaFrame(); - llvm::CallInst *res = builder()->CreateCall(callee, args_start, args_end); + llvm::CallInst *res = builder()->CreateCall(callee, llvm::makeArrayRef(args_start, args_end)); stack()->CreateResetLastJavaFrame(); cache_after_VM_call(); if (exception_action & EAM_CHECK) {