8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range

Mon, 07 Oct 2013 14:12:23 +0400

author
vlivanov
date
Mon, 07 Oct 2013 14:12:23 +0400
changeset 5905
f478c98e8114
parent 5904
5cc2d82aa82a
child 5906
5741fc86a2ee

8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range
Reviewed-by: iveresov, roland, kvn, twisti

src/share/vm/opto/parse2.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/parse2.cpp	Mon Oct 07 14:11:49 2013 +0400
     1.2 +++ b/src/share/vm/opto/parse2.cpp	Mon Oct 07 14:12:23 2013 +0400
     1.3 @@ -268,7 +268,7 @@
     1.4      return adjoinRange(value, value, dest, table_index);
     1.5    }
     1.6  
     1.7 -  void print(ciEnv* env) {
     1.8 +  void print() {
     1.9      if (is_singleton())
    1.10        tty->print(" {%d}=>%d", lo(), dest());
    1.11      else if (lo() == min_jint)
    1.12 @@ -471,8 +471,8 @@
    1.13    // These are the switch destinations hanging off the jumpnode
    1.14    int i = 0;
    1.15    for (SwitchRange* r = lo; r <= hi; r++) {
    1.16 -    for (int j = r->lo(); j <= r->hi(); j++, i++) {
    1.17 -      Node* input = _gvn.transform(new (C) JumpProjNode(jtn, i, r->dest(), j - lowval));
    1.18 +    for (int64 j = r->lo(); j <= r->hi(); j++, i++) {
    1.19 +      Node* input = _gvn.transform(new (C) JumpProjNode(jtn, i, r->dest(), (int)(j - lowval)));
    1.20        {
    1.21          PreserveJVMState pjvms(this);
    1.22          set_control(input);
    1.23 @@ -632,7 +632,7 @@
    1.24      }
    1.25      tty->print("   ");
    1.26      for( r = lo; r <= hi; r++ ) {
    1.27 -      r->print(env());
    1.28 +      r->print();
    1.29      }
    1.30      tty->print_cr("");
    1.31    }

mercurial