src/share/vm/opto/parse2.cpp

changeset 1040
98cb887364d3
parent 801
8261ee795323
child 1161
be93aad57795
     1.1 --- a/src/share/vm/opto/parse2.cpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/share/vm/opto/parse2.cpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -32,7 +32,7 @@
     1.4  void Parse::array_load(BasicType elem_type) {
     1.5    const Type* elem = Type::TOP;
     1.6    Node* adr = array_addressing(elem_type, 0, &elem);
     1.7 -  if (stopped())  return;     // guarenteed null or range check
     1.8 +  if (stopped())  return;     // guaranteed null or range check
     1.9    _sp -= 2;                   // Pop array and index
    1.10    const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type);
    1.11    Node* ld = make_load(control(), adr, elem, elem_type, adr_type);
    1.12 @@ -43,7 +43,7 @@
    1.13  //--------------------------------array_store----------------------------------
    1.14  void Parse::array_store(BasicType elem_type) {
    1.15    Node* adr = array_addressing(elem_type, 1);
    1.16 -  if (stopped())  return;     // guarenteed null or range check
    1.17 +  if (stopped())  return;     // guaranteed null or range check
    1.18    Node* val = pop();
    1.19    _sp -= 2;                   // Pop array and index
    1.20    const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type);
    1.21 @@ -1541,14 +1541,14 @@
    1.22    case Bytecodes::_aaload: array_load(T_OBJECT); break;
    1.23    case Bytecodes::_laload: {
    1.24      a = array_addressing(T_LONG, 0);
    1.25 -    if (stopped())  return;     // guarenteed null or range check
    1.26 +    if (stopped())  return;     // guaranteed null or range check
    1.27      _sp -= 2;                   // Pop array and index
    1.28      push_pair( make_load(control(), a, TypeLong::LONG, T_LONG, TypeAryPtr::LONGS));
    1.29      break;
    1.30    }
    1.31    case Bytecodes::_daload: {
    1.32      a = array_addressing(T_DOUBLE, 0);
    1.33 -    if (stopped())  return;     // guarenteed null or range check
    1.34 +    if (stopped())  return;     // guaranteed null or range check
    1.35      _sp -= 2;                   // Pop array and index
    1.36      push_pair( make_load(control(), a, Type::DOUBLE, T_DOUBLE, TypeAryPtr::DOUBLES));
    1.37      break;
    1.38 @@ -1560,7 +1560,7 @@
    1.39    case Bytecodes::_fastore: array_store(T_FLOAT); break;
    1.40    case Bytecodes::_aastore: {
    1.41      d = array_addressing(T_OBJECT, 1);
    1.42 -    if (stopped())  return;     // guarenteed null or range check
    1.43 +    if (stopped())  return;     // guaranteed null or range check
    1.44      array_store_check();
    1.45      c = pop();                  // Oop to store
    1.46      b = pop();                  // index (already used)
    1.47 @@ -1572,7 +1572,7 @@
    1.48    }
    1.49    case Bytecodes::_lastore: {
    1.50      a = array_addressing(T_LONG, 2);
    1.51 -    if (stopped())  return;     // guarenteed null or range check
    1.52 +    if (stopped())  return;     // guaranteed null or range check
    1.53      c = pop_pair();
    1.54      _sp -= 2;                   // Pop array and index
    1.55      store_to_memory(control(), a, c, T_LONG, TypeAryPtr::LONGS);
    1.56 @@ -1580,7 +1580,7 @@
    1.57    }
    1.58    case Bytecodes::_dastore: {
    1.59      a = array_addressing(T_DOUBLE, 2);
    1.60 -    if (stopped())  return;     // guarenteed null or range check
    1.61 +    if (stopped())  return;     // guaranteed null or range check
    1.62      c = pop_pair();
    1.63      _sp -= 2;                   // Pop array and index
    1.64      c = dstore_rounding(c);

mercurial