Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalCompilerToVM.hpp @ 9972:91c16dff3fc1
Refactor CodeInstaller and CompilerToVM
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 10 Jun 2013 11:47:18 +0200 |
parents | 4d5872186e76 |
children | 431eca622358 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.hpp Mon Jun 10 11:06:58 2013 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.hpp Mon Jun 10 11:47:18 2013 +0200 @@ -54,12 +54,7 @@ oop next_arg(BasicType expectedType) { assert(_index < _args->length(), "out of bounds"); - oop arg; - if(UseCompressedOops) { - arg = oopDesc::decode_heap_oop(((narrowOop*) _args->base(T_OBJECT))[_index++]); - } else { - arg = ((oop*) _args->base(T_OBJECT))[_index++]; - } + oop arg=((objArrayOop) (_args))->obj_at(_index++); assert(expectedType == T_OBJECT || java_lang_boxing_object::is_instance(arg, expectedType), "arg type mismatch"); return arg; }