Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/stubGenerator_x86_64.cpp @ 23379:24505bf61633
allow JVMCI compiler to change the compilation policy for a method (JDK-8152311)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 09 May 2016 16:08:16 +0200 |
parents | dd9cc155639c |
children | f13e777eb255 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubGenerator_x86_64.cpp Mon May 09 11:31:54 2016 +0200 +++ b/src/cpu/x86/vm/stubGenerator_x86_64.cpp Mon May 09 16:08:16 2016 +0200 @@ -2650,7 +2650,7 @@ { BLOCK_COMMENT("assert primitive array {"); Label L; - __ cmpl(rax_lh, (Klass::_lh_array_tag_type_value << Klass::_lh_array_tag_shift)); + __ cmpl(rax_lh, ((unsigned)Klass::_lh_array_tag_type_value << Klass::_lh_array_tag_shift)); __ jcc(Assembler::greaterEqual, L); __ stop("must be a primitive array"); __ bind(L);