Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/graphKit.hpp @ 23799:535618ab1c04
6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Summary: Emit CastII to make narrow ConvI2L dependent on the corresponding range check.
Reviewed-by: kvn, roland
author | thartmann |
---|---|
date | Wed, 27 Jan 2016 09:02:51 +0100 |
parents | c1c199dde5c9 |
children | f13e777eb255 |
comparison
equal
deleted
inserted
replaced
23571:16f7b676725a | 23799:535618ab1c04 |
---|---|
624 Node* val, BasicType bt, bool use_precise); | 624 Node* val, BasicType bt, bool use_precise); |
625 | 625 |
626 // Return addressing for an array element. | 626 // Return addressing for an array element. |
627 Node* array_element_address(Node* ary, Node* idx, BasicType elembt, | 627 Node* array_element_address(Node* ary, Node* idx, BasicType elembt, |
628 // Optional constraint on the array size: | 628 // Optional constraint on the array size: |
629 const TypeInt* sizetype = NULL); | 629 const TypeInt* sizetype = NULL, |
630 // Optional control dependency (for example, on range check) | |
631 Node* ctrl = NULL); | |
630 | 632 |
631 // Return a load of array element at idx. | 633 // Return a load of array element at idx. |
632 Node* load_array_element(Node* ctl, Node* ary, Node* idx, const TypeAryPtr* arytype); | 634 Node* load_array_element(Node* ctl, Node* ary, Node* idx, const TypeAryPtr* arytype); |
633 | 635 |
634 //---------------- Dtrace support -------------------- | 636 //---------------- Dtrace support -------------------- |