src/cpu/mips/vm/c1_CodeStubs_mips.cpp

changeset 9228
617b86d17edb
parent 9211
0205041afcbd
child 9231
714bb57e222b
     1.1 --- a/src/cpu/mips/vm/c1_CodeStubs_mips.cpp	Mon Sep 03 14:27:42 2018 +0800
     1.2 +++ b/src/cpu/mips/vm/c1_CodeStubs_mips.cpp	Tue Sep 04 21:25:12 2018 +0800
     1.3 @@ -66,7 +66,7 @@
     1.4  RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
     1.5                                 bool throw_index_out_of_bounds_exception)
     1.6    : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception)
     1.7 -    , _index(index)
     1.8 +  , _index(index)
     1.9  {
    1.10    _info = info == NULL ? NULL : new CodeEmitInfo(info);
    1.11  }
    1.12 @@ -150,7 +150,6 @@
    1.13  #ifndef _LP64
    1.14    assert(_klass_reg->as_register() == T4, "klass_reg must in T4");
    1.15  #else
    1.16 -  //FIXME. in A4? aoqi
    1.17    assert(_klass_reg->as_register() == A4, "klass_reg must in A4");
    1.18  #endif
    1.19    __ call(Runtime1::entry_for(_stub_id), relocInfo::runtime_call_type);
    1.20 @@ -181,7 +180,6 @@
    1.21  #ifndef _LP64
    1.22    assert(_klass_reg->as_register() == T4, "klass_reg must in T4");
    1.23  #else
    1.24 -  //FIXME. in A4? aoqi
    1.25    assert(_klass_reg->as_register() == A4, "klass_reg must in A4");
    1.26  #endif
    1.27  
    1.28 @@ -245,7 +243,6 @@
    1.29    } else {
    1.30      enter_id = Runtime1::monitorenter_nofpu_id;
    1.31    }
    1.32 -  //__ call(RuntimeAddress(Runtime1::entry_for(enter_id)));
    1.33    __ call(Runtime1::entry_for(enter_id), relocInfo::runtime_call_type);
    1.34    __ delayed()->nop();
    1.35    ce->add_call_info_here(_info);
    1.36 @@ -269,7 +266,6 @@
    1.37    } else {
    1.38      exit_id = Runtime1::monitorexit_nofpu_id;
    1.39    }
    1.40 -  //__ call(RuntimeAddress(Runtime1::entry_for(exit_id)));
    1.41    __ call(Runtime1::entry_for(exit_id), relocInfo::runtime_call_type);
    1.42    __ delayed()->nop();
    1.43  
    1.44 @@ -350,7 +346,7 @@
    1.45      address start = __ pc();
    1.46      for ( int i = 0; i < _bytes_to_copy; i+=4) {
    1.47        __ emit_int32(*(int*)(_pc_start + i));
    1.48 -      //make the site look like a nop, @jerome
    1.49 +      //make the site look like a nop
    1.50        *(int*)(_pc_start + i)=0;
    1.51      }
    1.52      while ((intx)__ pc() - (intx)start < NativeCall::instruction_size) {

mercurial